@shopify/dates
Advanced tools
Comparing version 0.2.12 to 0.2.13-beta.fixchrome80
@@ -9,2 +9,6 @@ # Changelog | ||
## [Unreleased] | ||
- Move Chrome 80 bug fix outside of gaurding if | ||
## [0.2.12] - 2020-02-07 | ||
@@ -11,0 +15,0 @@ |
@@ -11,8 +11,8 @@ "use strict"; | ||
var adjustedDate = new Date(date.valueOf() - 12 * 60 * 60 * 1000); | ||
if (options.hour12 != null) { | ||
options.hour12 = undefined; | ||
options.hourCycle = 'h23'; | ||
} | ||
return memoizedGetDateTimeFormat(locales, tslib_1.__assign(tslib_1.__assign({}, options), { timeZone: 'UTC' })).format(adjustedDate); | ||
} | ||
if (options.hour12 != null) { | ||
options.hour12 = undefined; | ||
options.hourCycle = 'h23'; | ||
} | ||
return memoizedGetDateTimeFormat(locales, options).format(date); | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "@shopify/dates", | ||
"version": "0.2.12", | ||
"version": "0.2.13-beta.fixchrome80", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Lightweight date operations library.", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45101