Skip to content

Commit f331bdf

Browse files
tz.tokyo everywhere
1 parent 3eaaddc commit f331bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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(date).format('YYYY-MM-DD HH:mm').toString();
224+
const dateToDisplay = moment(date).tz('Asia/Tokyo').format('YYYY-MM-DD HH:mm').toString();
225225
return dateToDisplay;
226226
}
227227

0 commit comments

Comments
 (0)