onroute-policy-engine 2.36.0 → 2.36.1

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.
@@ -10,7 +10,7 @@ export declare const DATE_FORMATS: {
10
10
  * Convert a datetime to a specified timezone.
11
11
  *
12
12
  * @param datetime Datetime to be converted
13
- * @param timezoneId Timezone identifier (eg. 'Canada/Pacific')
13
+ * @param timezoneId Timezone identifier (eg. 'America/Vancouver')
14
14
  * @returns Dayjs object in the specified timezone
15
15
  */
16
16
  export declare const convertToTimezone: (datetime: string | Dayjs | Date, timezoneId: string) => Dayjs;
@@ -14,7 +14,7 @@ dayjs_1.default.extend(timezone_1.default);
14
14
  dayjs_1.default.extend(duration_1.default);
15
15
  dayjs_1.default.extend(quarterOfYear_1.default);
16
16
  exports.TIMEZONE_IDS = {
17
- PACIFIC: 'Canada/Pacific',
17
+ PACIFIC: 'America/Vancouver',
18
18
  };
19
19
  exports.DATE_FORMATS = {
20
20
  DATE_ONLY: 'YYYY-MM-DD',
@@ -24,7 +24,7 @@ exports.DATE_FORMATS = {
24
24
  * Convert a datetime to a specified timezone.
25
25
  *
26
26
  * @param datetime Datetime to be converted
27
- * @param timezoneId Timezone identifier (eg. 'Canada/Pacific')
27
+ * @param timezoneId Timezone identifier (eg. 'America/Vancouver')
28
28
  * @returns Dayjs object in the specified timezone
29
29
  */
30
30
  const convertToTimezone = (datetime, timezoneId) => {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "v2.36.0";
1
+ export declare const version = "v2.36.1";
package/dist/version.js CHANGED
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = 'v2.36.0';
5
+ exports.version = 'v2.36.1';
package/package.json CHANGED
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "testEnvironment": "node"
93
93
  },
94
- "version": "v2.36.0"
94
+ "version": "v2.36.1"
95
95
  }