Skip to content

Commit 3ded8d2

Browse files
committed
Updated README.md
1 parent f922d83 commit 3ded8d2

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ npm i date-and-time
2525

2626
## Recent Changes
2727

28+
- 3.4.0
29+
- Added `zz` (time zone name) and `z` (time zone name abbreviation) tokens to the `timezone` plugin.
30+
- Fixed an issue where token extensions by other plugins were not reflected in functions provided by the `timezone` plugin.
31+
2832
- 3.3.0
2933
- Refactored `format()`, `isValid()`, and `preparse()`, further improved performance.
3034

3135
- 3.2.0
3236
- Refactored `compile()`, `format()`, and `preparse()`, slightly improved performance.
3337

34-
- 3.1.1
35-
- Fixed an issue where `format()` could output incorrect UTC times in locales with daylight savings time.
36-
- Refactored `formatTZ()` of `timezone` plugin.
37-
3838
## Usage
3939

4040
- ES Modules:
@@ -179,12 +179,14 @@ Available tokens and their meanings are as follows:
179179

180180
You can also use the following tokens by importing plugins. See [PLUGINS.md](./PLUGINS.md) for details.
181181

182-
| token | meaning | examples of output |
183-
|:------|:-------------------------------------|:-------------------|
184-
| DDD | ordinal notation of date | 1st, 2nd, 3rd |
185-
| AA | meridiem (uppercase with ellipsis) | A.M., P.M. |
186-
| a | meridiem (lowercase) | am, pm |
187-
| aa | meridiem (lowercase with ellipsis) | a.m., p.m. |
182+
| token | meaning | examples of output |
183+
|:------|:-------------------------------------|:----------------------|
184+
| DDD | ordinal notation of date | 1st, 2nd, 3rd |
185+
| AA | meridiem (uppercase with ellipsis) | A.M., P.M. |
186+
| a | meridiem (lowercase) | am, pm |
187+
| aa | meridiem (lowercase with ellipsis) | a.m., p.m. |
188+
| z | time zone name abbreviation | PST, EST |
189+
| zz | time zone name | Pacific Standard Time |
188190

189191
#### Note 1. Comments
190192

0 commit comments

Comments
 (0)