@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.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3080,7 +3080,8 @@ var Datepicker = ({
|
|
3080
3080
|
}) => {
|
3081
3081
|
var _a, _b;
|
3082
3082
|
const selected = value ? new Date(value) : void 0;
|
3083
|
-
const
|
3083
|
+
const timezoneLabelFormat = timezoneLabel ? `${timezoneLabel}` : "";
|
3084
|
+
const dateFormat = ((_a = props.dateFormat) != null ? _a : withTime) ? `dd MMM yyyy, HH:mm '${timezoneLabelFormat}` : "dd MMM yyyy";
|
3084
3085
|
const getTimeProps = () => {
|
3085
3086
|
if (!withTime) return {};
|
3086
3087
|
return {
|