@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.
@@ -8594,7 +8594,10 @@ function momentToDayjs(value) {
8594
8594
  const tz = value.tz();
8595
8595
  if (tz) {
8596
8596
  // Has a named timezone - preserve it
8597
- dayjsObj = (0, _dayjs.default)(date).tz(tz);
8597
+ // dayjs.utc(date) is required here: dayjs(date) anchors to the system local timezone,
8598
+ // causing .tz() to only re-label without converting hours. dayjs.utc(date) creates a
8599
+ // UTC-mode dayjs, which .tz() correctly converts to the target timezone for display.
8600
+ dayjsObj = _dayjs.default.utc(date).tz(tz);
8598
8601
 
8599
8602
  // WORKAROUND: dayjs-timezone-iana-plugin doesn't persist timezone name in standard way
8600
8603
  // Store it manually in $x for round-trip conversion fidelity