Skip to content

Commit 2c11c00

Browse files
author
Gianmarco Manni
committed
add upper case HH
1 parent a5f1543 commit 2c11c00

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Utils/DateHandler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class DateHandler {
2525
.replace("MM", this.padNumber(date.getMonth() + 1, 2))
2626
.replace("dd", this.padNumber(date.getDate(), 2))
2727
.replace("hh", this.padNumber(date.getHours(), 2))
28+
.replace("HH", this.padNumber(date.getHours(), 2))
2829
.replace("mm", this.padNumber(date.getMinutes(), 2))
2930
.replace("ss", this.padNumber(date.getSeconds(), 2));
3031
}

0 commit comments

Comments
 (0)