Skip to content

Commit 332d3ca

Browse files
committed
Add is12Hour function to locale
1 parent 10b2e9e commit 332d3ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/locale/locale.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@
241241
date: (d,short) => short ? \`${dateS}\` : \`${dateN}\`,
242242
time: (d,short) => short ? \`${timeS}\` : \`${timeN}\`,
243243
meridian: d => is12Hours() ? d.getHours() < 12 ? ${js(locale.ampm[0])}:${js(locale.ampm[1])} : "",
244+
is12Hours,
244245
};
245246
`.trim()
246247
};

0 commit comments

Comments
 (0)