Skip to content

Commit

Permalink
always show 00 for midnight
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-speed-elder committed Mar 22, 2024
1 parent 4f19f96 commit 9d14fb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"checkJs": true
"checkJs": true,
"target": "es2020"
},
"exclude": [
"node_modules"
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {Intl.DateTimeFormatOptions} */
const timeFormatOpts = {
hour12: false,
hourCycle: 'h23',
hour: '2-digit',
minute: '2-digit',
timeZone: 'UTC',
Expand Down

0 comments on commit 9d14fb2

Please sign in to comment.