@js-joda/timezone 2.5.0 → 2.8.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/CHANGELOG.md +14 -1
- package/README.md +8 -7
- package/dist/js-joda-timezone-10-year-range.js +278 -198
- package/dist/js-joda-timezone-10-year-range.js.map +1 -1
- package/dist/js-joda-timezone-10-year-range.min.js +1 -1
- package/dist/js-joda-timezone-1970-2030.js +278 -198
- package/dist/js-joda-timezone-1970-2030.js.map +1 -1
- package/dist/js-joda-timezone-1970-2030.min.js +1 -1
- package/dist/js-joda-timezone-2012-2022.js +278 -198
- package/dist/js-joda-timezone-2012-2022.js.map +1 -1
- package/dist/js-joda-timezone-2012-2022.min.js +1 -1
- package/dist/js-joda-timezone-empty.js +276 -196
- package/dist/js-joda-timezone-empty.js.map +1 -1
- package/dist/js-joda-timezone-empty.min.js +1 -1
- package/dist/js-joda-timezone.js +278 -198
- package/dist/js-joda-timezone.js.map +1 -1
- package/dist/js-joda-timezone.min.js +1 -1
- package/package.json +10 -36
- package/src/MomentZoneRules.js +1 -1
- package/src/MomentZoneRulesProvider.js +1 -1
- package/src/auto-plug.js +3 -0
- package/src/plug.js +3 -0
- package/src/system-default-zone.js +12 -2
- package/src/unpack.js +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@ Changelog
|
|
|
3
3
|
|
|
4
4
|
### next
|
|
5
5
|
|
|
6
|
+
### 2.8.0
|
|
7
|
+
|
|
8
|
+
* [#561](https://github.com/js-joda/js-joda/pull/561) Update @js-joda/timezone to tzdb 2021c ([@pithu](https://github.com/pithu))
|
|
9
|
+
|
|
10
|
+
### 2.7.0
|
|
11
|
+
|
|
12
|
+
* Upgrade dependencies #555 by @pithu
|
|
13
|
+
* Change @babel/preset-env targets, fix IE11 issues #555 by @pithu
|
|
14
|
+
|
|
15
|
+
### 2.6.0
|
|
16
|
+
|
|
17
|
+
* updated to iana tzdb 2021a
|
|
18
|
+
|
|
6
19
|
### 2.5.0
|
|
7
20
|
|
|
8
21
|
* updated to iana tzdb 2020d
|
|
@@ -48,7 +61,7 @@ Changelog
|
|
|
48
61
|
(re) introduced new plugin concept
|
|
49
62
|
* Hide `use(plug)` concept from public api.
|
|
50
63
|
The function for extending js-joda is not exported anymore (the default export of this module is removed).
|
|
51
|
-
The code for extending js-joda `use(plug)` is not required anymore, because js-joda
|
|
64
|
+
The code for extending js-joda `use(plug)` is not required anymore, because @js-joda/timezone automaticaly extends
|
|
52
65
|
js-joda when imported.
|
|
53
66
|
|
|
54
67
|
#### dependendency updates
|
package/README.md
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
[](https://travis-ci.org/js-joda/js-joda)
|
|
5
5
|
[](https://saucelabs.com/u/js-joda)
|
|
6
6
|
[](https://coveralls.io/github/js-joda/js-joda?branch=master)
|
|
7
|
-
[](https://img.shields.io/npm/dm/%40js-joda%2Ftimezone.svg)
|
|
8
|
+
|
|
9
|
+
[](https://saucelabs.com/u/js-joda)
|
|
9
10
|
|
|
10
11
|
## Motivation
|
|
11
12
|
|
|
@@ -52,8 +53,8 @@ Install joda using npm
|
|
|
52
53
|
|
|
53
54
|
### Browser
|
|
54
55
|
|
|
55
|
-
<script src="
|
|
56
|
-
<script src="
|
|
56
|
+
<script src="./packages/core/dist/js-joda.js"></script>
|
|
57
|
+
<script src="./packages/timezone/dist/js-joda-timezone.js"></script>
|
|
57
58
|
<script>
|
|
58
59
|
// copy all js-joda classes to the global scope
|
|
59
60
|
for(let key in JSJoda) { this[key] = JSJoda[key]; }
|
|
@@ -75,7 +76,7 @@ Install joda using npm
|
|
|
75
76
|
</script>
|
|
76
77
|
|
|
77
78
|
## Reducing js-joda-timezone file size
|
|
78
|
-
If you don't need all the historical data that js-joda
|
|
79
|
+
If you don't need all the historical data that @js-joda/timezone provides, you can instead use one of the reduced files ize builds:
|
|
79
80
|
|
|
80
81
|
* `js-joda-timezone-10-year-range.js` covers +- five years from the current version's release
|
|
81
82
|
* `js-joda-timezone-1970-2030.js` covers from 1970 to 2030
|
|
@@ -83,7 +84,7 @@ If you don't need all the historical data that js-joda-timezone provides, you ca
|
|
|
83
84
|
|
|
84
85
|
To use one of these, just change your import path to the following format:
|
|
85
86
|
|
|
86
|
-
import 'js-joda
|
|
87
|
+
import '@js-joda/timezone/dist/js-joda-timezone-1970-2030'
|
|
87
88
|
|
|
88
89
|
## Implementation details
|
|
89
90
|
|
|
@@ -92,7 +93,7 @@ To use one of these, just change your import path to the following format:
|
|
|
92
93
|
|
|
93
94
|
## License
|
|
94
95
|
|
|
95
|
-
* js-joda
|
|
96
|
+
* @js-joda/timezone is released under the [BSD 3-clause license](LICENSE):
|
|
96
97
|
|
|
97
98
|
* The author of joda time and the lead architect of the JSR-310 is Stephen Colebourne.
|
|
98
99
|
|