Initial commit

This commit is contained in:
Igor Martyniuk
2026-06-25 15:53:49 +03:00
commit 1bb0b7e68a
1517 changed files with 218469 additions and 0 deletions
@@ -0,0 +1,9 @@
import { TimeMode } from '@crux-kit/types';
export const detectUserTimeMode = (): TimeMode => {
return new Intl.DateTimeFormat(undefined, {
hour: 'numeric',
}).resolvedOptions().hour12
? '12h'
: '24h';
};