Skip to content

Commit 4026869

Browse files
bad fix
1 parent 5120c53 commit 4026869

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pdf/pdf-parts/drawHeaderAndSignatureBoxes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function calculateStatsRows(data, tableColorRange) {
221221
* Format a Date as "YYYY-MM-DD HH:mm"
222222
*/
223223
function formatDateForRange(date) {
224-
const dateToDisplay = moment(moment(date).tz('Asia/Tokyo').toDate()).format('YYYY-MM-DD HH:mm').toString();
224+
const dateToDisplay = moment(moment(date).tz('Asia/Tokyo').toDate()).subtract(0, 'h').format('YYYY-MM-DD HH:mm').toString();
225225
return dateToDisplay;
226226
}
227227

0 commit comments

Comments
 (0)