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