@ctlyst.id/internal-ui 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
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 {