owltide/shared/utils/luxon.ts
Hornwitser e100555304
All checks were successful
/ build (push) Successful in 2m16s
/ deploy (push) Successful in 16s
Implement ClientSchedule state tracking class
Write the logic of keeping track of location modifications and applying
updates from the server into the ClientSchedule class.  This should
serve as the foundation for replacing the prototype in-component update
logic which have turned into an unmaintainable spagetti.
2025-06-12 21:48:50 +02:00

11 lines
292 B
TypeScript

// Wrapper around Luxon to make sure the throwOnInvalid option is set
import { Settings, DateTime, FixedOffsetZone, Zone } from "luxon";
Settings.throwOnInvalid = true;
declare module 'luxon' {
interface TSSettings {
throwOnInvalid: true;
}
}
export { DateTime, FixedOffsetZone, Zone }