Skip to content

Commit 8944a9f

Browse files
authored
Merge pull request #120 from Zhen-dot/datetime-patch
Replace Datetime formatting to use hourCycle of h23 instead of hour12
2 parents a888396 + 38d7a92 commit 8944a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LoggerWithoutCallSite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ export class LoggerWithoutCallSite {
524524
year: "numeric",
525525
month: "2-digit",
526526
day: "2-digit",
527-
hour12: false,
527+
hourCycle: 'h23',
528528
hour: "2-digit",
529529
minute: "2-digit",
530530
second: "2-digit",

0 commit comments

Comments
 (0)