@apexcura/ui-components 0.0.14-Beta203 → 0.0.14-Beta204
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 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -901,8 +901,8 @@ var DateRangePickerElement = (props) => {
|
|
|
901
901
|
console.log(dateStrings);
|
|
902
902
|
if (dates) {
|
|
903
903
|
const formattedDate = [];
|
|
904
|
-
formattedDate.
|
|
905
|
-
formattedDate.
|
|
904
|
+
formattedDate.push((0, import_moment3.default)(dateStrings[0]).format("DD-MM-YYYY"));
|
|
905
|
+
formattedDate.push((0, import_moment3.default)(dateStrings[1]).format("DD-MM-YYYY"));
|
|
906
906
|
console.log("formattedDate", formattedDate);
|
|
907
907
|
props.onChange && props.onChange(formattedDate);
|
|
908
908
|
} else {
|
package/dist/index.mjs
CHANGED
|
@@ -835,8 +835,8 @@ var DateRangePickerElement = (props) => {
|
|
|
835
835
|
console.log(dateStrings);
|
|
836
836
|
if (dates) {
|
|
837
837
|
const formattedDate = [];
|
|
838
|
-
formattedDate.
|
|
839
|
-
formattedDate.
|
|
838
|
+
formattedDate.push(moment3(dateStrings[0]).format("DD-MM-YYYY"));
|
|
839
|
+
formattedDate.push(moment3(dateStrings[1]).format("DD-MM-YYYY"));
|
|
840
840
|
console.log("formattedDate", formattedDate);
|
|
841
841
|
props.onChange && props.onChange(formattedDate);
|
|
842
842
|
} else {
|