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