@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.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 {
|