@aemforms/af-formatters 0.22.16 → 0.22.17

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.
@@ -144,14 +144,14 @@ function getTimezoneOffsetFrom(otherTimezone) {
144
144
  day: 'numeric',
145
145
  hour: 'numeric',
146
146
  minute: 'numeric',
147
- hour12: false
147
+ hourCycle: 'h23'
148
148
  });
149
149
  var other = objFromStr(str);
150
150
  str = date.toLocaleString('en-US', {
151
151
  day: 'numeric',
152
152
  hour: 'numeric',
153
153
  minute: 'numeric',
154
- hour12: false
154
+ hourCycle: 'h23'
155
155
  });
156
156
  var myLocale = objFromStr(str);
157
157
  var otherOffset = other.day * 24 * 60 + other.hour * 60 + other.minute; // utc date + otherTimezoneDifference
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aemforms/af-formatters",
3
- "version": "0.22.16",
3
+ "version": "0.22.17",
4
4
  "description": "Core Module for Forms Runtime",
5
5
  "author": "Adobe Systems",
6
6
  "license": "Adobe Proprietary",