Skip to content

Commit fd59475

Browse files
committed
refactor: english uses 12 hour
1 parent 01015db commit fd59475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function App({
138138
new Intl.DateTimeFormat(locale, {
139139
hour: '2-digit',
140140
minute: '2-digit',
141-
hour12: false,
141+
hour12: locale === 'en',
142142
}),
143143
[locale]
144144
)

0 commit comments

Comments
 (0)