We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a98a4f1 commit 54da28bCopy full SHA for 54da28b
1 file changed
src/standup.tsx
@@ -19,10 +19,10 @@ const getClosestTimeZone = () => {
19
20
aryIannaTimeZones.forEach((timeZone) => {
21
// get current hour and minute in this timezone
22
- const options = {
+ const options: Intl.DateTimeFormatOptions = {
23
timeZone,
24
- hour: 'numeric' as const,
25
- minute: 'numeric' as const,
+ hour: 'numeric',
+ minute: 'numeric',
26
hour12: false,
27
};
28
const formatter = new Intl.DateTimeFormat([], options);
0 commit comments