@ctlyst.id/internal-ui 4.0.0 → 4.0.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.
package/dist/index.mjs CHANGED
@@ -2734,7 +2734,8 @@ var Datepicker = ({
2734
2734
  }) => {
2735
2735
  var _a, _b;
2736
2736
  const selected = value ? new Date(value) : void 0;
2737
- const dateFormat = ((_a = props.dateFormat) != null ? _a : withTime) ? `dd MMM yyyy, HH:mm '${timezoneLabel}'` : "dd MMM yyyy";
2737
+ const timezoneLabelFormat = timezoneLabel ? `${timezoneLabel}` : "";
2738
+ const dateFormat = ((_a = props.dateFormat) != null ? _a : withTime) ? `dd MMM yyyy, HH:mm '${timezoneLabelFormat}` : "dd MMM yyyy";
2738
2739
  const getTimeProps = () => {
2739
2740
  if (!withTime) return {};
2740
2741
  return {