@capillarytech/blaze-ui 5.1.18 → 5.1.19

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.
@@ -4,6 +4,14 @@ declare const _default: {
4
4
  id: string;
5
5
  defaultMessage: string;
6
6
  };
7
+ selectLabel: {
8
+ id: string;
9
+ defaultMessage: string;
10
+ };
11
+ todayLabel: {
12
+ id: string;
13
+ defaultMessage: string;
14
+ };
7
15
  };
8
16
  export default _default;
9
17
  //# sourceMappingURL=messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../components/CapDateTimePicker/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,mDAAmD,CAAC;;;;;;;AAEtE,wBAKG"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../components/CapDateTimePicker/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,mDAAmD,CAAC;;;;;;;;;;;;;;;AAEtE,wBAaG"}
@@ -4115,7 +4115,10 @@ function momentToDayjs(value) {
4115
4115
  const tz = value.tz();
4116
4116
  if (tz) {
4117
4117
  // Has a named timezone - preserve it
4118
- dayjsObj = (0, _dayjs.default)(date).tz(tz);
4118
+ // dayjs.utc(date) is required here: dayjs(date) anchors to the system local timezone,
4119
+ // causing .tz() to only re-label without converting hours. dayjs.utc(date) creates a
4120
+ // UTC-mode dayjs, which .tz() correctly converts to the target timezone for display.
4121
+ dayjsObj = _dayjs.default.utc(date).tz(tz);
4119
4122
 
4120
4123
  // WORKAROUND: dayjs-timezone-iana-plugin doesn't persist timezone name in standard way
4121
4124
  // Store it manually in $x for round-trip conversion fidelity