feat: expose the tzdb version of the bundled zonefile
This commit is contained in:
1 parent
d47824c8f3
commit
1668c0dd6b
7 files changed
+22
-3
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import Spacetime from './spacetime.js'
|
||||
import whereIts from './whereIts.js'
|
||||
import version from './_version.js'
|
||||
import { tzdbVersion } from '../zonefile/_build.js'
|
||||
|
||||
const main = (input, tz, options) => new Spacetime(input, tz, options)
|
||||
|
||||
@@ -62,6 +63,7 @@ main.min = function (tz, options) {
|
||||
//find tz by time
|
||||
main.whereIts = whereIts
|
||||
main.version = version
|
||||
main.tzdbVersion = tzdbVersion
|
||||
|
||||
//aliases:
|
||||
main.plugin = main.extend
|
||||
|
||||
Reference in new issue
Block a user