feat: expose the tzdb version of the bundled zonefile

This commit is contained in:
dualfroz committed 2026-10-03 15:30:58 +02:00
1 parent d47824c8f3
commit 1668c0dd6b
7 files changed
+22 -3

No files matched your search

+3
View File
@@ -86,6 +86,9 @@ export interface SpacetimeStatic extends SpacetimeConstructor {
/** list timezones by their time */
whereIts: (a: string, b?: string) => string[]
/** IANA tzdb release of the bundled timezone data, like '2026c' */
tzdbVersion: string
/** set as earliest-possible date */
min: (timezone?: string, options?: SpacetimeConstructorOptions) => Spacetime