Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marnusw committed Dec 20, 2021
1 parent b67da3f commit f2df9d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### v1.2.0 (18 December 2021)

- [ENHANCEMENT] Add `formatInTimeZone`
- [DOCS] Various improvements and corrections
- [BUGFIX] Fixed `zonedTimeToUtc` parsing of date strings with time zone specifiers
- [ENHANCEMENT] Functions that return dates will return `Invalid Date` for bad date / time zone
inputs, and `format` functions throw a `RangeError`
- [BUGFIX] Fix `format` returning wrong time zone offset close to DST. (#138)

### v1.1.7 (17 December 2021)

- [PERFORMANCE] Improve performance when validating the same timezones many times through caching; thanks @billthornton (#135)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "date-fns-tz",
"version": "1.1.7",
"version": "1.2.0",
"sideEffects": false,
"description": "Time zone support for date-fns v2 with the Intl API",
"author": "Marnus Weststrate <marnusw@gmail.com>",
Expand Down Expand Up @@ -46,7 +46,7 @@
]
},
"peerDependencies": {
"date-fns": ">=2.0.0-alpha.13"
"date-fns": ">=2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2738,7 +2738,7 @@ __metadata:
webpack: ^4.41.1
webpack-cli: ^3.1.2
peerDependencies:
date-fns: ">=2.0.0-alpha.13"
date-fns: ">=2.0.0"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit f2df9d7

Please sign in to comment.