timezones-ical-library 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +39 -0
- package/.prettierignore +8 -0
- package/.prettierrc.json +8 -0
- package/.stylelintrc.json +8 -0
- package/Readme.md +47 -27
- package/api/zones.json +597 -0
- package/dist/tzlib.js +1433 -637
- package/index.d.ts +3 -12
- package/npm_dist/cjs/.eslintrc.json +1 -0
- package/npm_dist/cjs/index.js +1433 -637
- package/npm_dist/mjs/index.js +1433 -637
- package/package.json +19 -3
- package/dist/tzlib.min.js +0 -2
- package/dist/tzlib.min.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
declare module 'timezones-ical-library' {
|
|
2
|
-
export function tzlib_get_ical_block(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
): void;
|
|
6
|
-
export function tzlib_get_offset(
|
|
7
|
-
tzName: string,
|
|
8
|
-
isoDate: string,
|
|
9
|
-
isoTime: string
|
|
10
|
-
): void;
|
|
11
|
-
export function tzlib_get_timezones(
|
|
12
|
-
jsonType?: boolean
|
|
13
|
-
): void;
|
|
2
|
+
export function tzlib_get_ical_block(tzName: string, jsonType?: boolean): void;
|
|
3
|
+
export function tzlib_get_offset(tzName: string, isoDate: string, isoTime: string): void;
|
|
4
|
+
export function tzlib_get_timezones(jsonType?: boolean): void;
|
|
14
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "extends": "../../.eslintrc.json", "env": { "node": true }, "plugins": ["commonjs"] }
|