You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,12 @@
12
12
Lightweight time zone listing and date converting. Intended for adding time zone support to high-level date libraries, but also for direct application usage.
13
13
14
14
* Tiny code base - 4.6 KB minified, 1.7 KB gzipped. Do not pack unnecessary weight in your application.
15
-
* Packed time zone data - 923 KB minified, 33.3 KB gzipped. Single time zones are unpacked on demand.
16
-
* Smaller bundles with limited data - 1900-2050 (204 kB minified, 25.2 kB gzipped), 1970-2038 (204 kB minified, 25.2 kB gzipped) and 2012-2022 (31.2 KB minified, 8.2 kB gzipped).
17
-
* Generated from the official time zone database version 2018g. Canonical time zone names, aliases, UTC offsets, and daylight-saving time changes.
15
+
* Packed time zone data - 924 KB minified, 33.6 KB gzipped. Single time zones are unpacked on demand.
16
+
* Smaller bundles of code with limited data - 1900-2050 (206 kB minified, 25.4 kB gzipped), 1970-2038 (141 kB minified, 15.8 kB gzipped) and 2012-2022 (31.3 KB minified, 8.25 kB gzipped).
17
+
* Generated from the official time zone database version 2019a. Canonical time zone names, aliases, UTC offsets, and daylight-saving time changes.
18
18
* Minimal interface for time zone lookup and conversions. Parsing, formatting and manipulating dates is usually the task for a higher-level date library.
19
19
20
-
**Attention**: export identifiers in vanilla browser modules changed in the version 2.0.0. See the [migration guide] for more information.
20
+
**Attention**: exported identifiers in vanilla browser modules changed in the version 2.0.0. See the [migration guide] for more information.
21
21
22
22
### Table of Contents
23
23
@@ -85,6 +85,8 @@ In lieu of a formal styleguide, take care to maintain the existing coding style.
85
85
86
86
## Release History
87
87
88
+
* 2018-06-11 v2.0.2 Upgrade the time zone database to the version 2019a.
89
+
* 2018-06-11 v2.0.1 Default to midnight, if the time part of a date is missing.
88
90
* 2018-06-10 v2.0.0 Use proper identifiers in vanilla browser modules.
89
91
* 2018-11-17 v1.8.0 Include time zone data for years 1970-2038.
90
92
* 2018-11-17 v1.7.0 Include full time zone data separately loadable.
@@ -110,4 +112,4 @@ Licensed under the MIT license.
Copy file name to clipboardExpand all lines: docs/design.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The purpose of this library is to offer an efficient support for time zone handl
4
4
5
5
* Lightweight - nothing else is included. Thus serving well for other date & time libraries, but also for applications, which do not manipulate dates.
6
6
* Tiny - use packed time zone data, unpacked on demand. Compromise between loading time and being ready to use immediately.
7
-
* Reliable - generated from the fresh official time zone database version 2018g. Canonical time zone names, aliases, UTC offsets, and daylight-saving time changes.
7
+
* Reliable - generated from the fresh official time zone database version 2019a. Canonical time zone names, aliases, UTC offsets, and daylight-saving time changes.
8
8
* Customizable - named exports and functions divided to separate modules allow tree-shaking. Alternative time zone data can be supplied to reduce the library size.
@@ -202,7 +202,7 @@ Custom time zone data can be used if the module `lookup-convert` is loaded inste
202
202
If you want to use the time zone data for years 2012-2022 published by this project, you can simplify your code by using a bundled package with both data and code.
0 commit comments