LANCommander/LANCommander.UI/Components/LocalTime/TimeProvider.ts

9 lines
196 B
TypeScript
Raw Permalink Normal View History

2025-03-17 02:02:17 -05:00
export class TimeProvider
{
public static GetLocalTimeZone(): string
2025-03-17 02:02:17 -05:00
{
const options = Intl.DateTimeFormat().resolvedOptions();
return options.timeZone;
}
}