asv-hlps 1.3.18 → 1.3.19
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/lib/cjs/utils.js +1 -1
- package/lib/esm/utils.js +1 -1
- package/package.json +1 -1
package/lib/cjs/utils.js
CHANGED
|
@@ -642,7 +642,7 @@ const dateFormatter = (date, format = "dmy", separator = "/") => {
|
|
|
642
642
|
case "mfr-long":
|
|
643
643
|
return (0, dayjs_1.default)(date).locale("fr").format("MMMM");
|
|
644
644
|
default:
|
|
645
|
-
return (0, dayjs_1.default)(date).format(`DD
|
|
645
|
+
return (0, dayjs_1.default)(date).format(`DD/MM/YYYY`);
|
|
646
646
|
// return dayjs(date).format(`YYYY${separator}MM${separator}DD`);
|
|
647
647
|
}
|
|
648
648
|
};
|
package/lib/esm/utils.js
CHANGED
|
@@ -561,7 +561,7 @@ export const dateFormatter = (date, format = "dmy", separator = "/") => {
|
|
|
561
561
|
case "mfr-long":
|
|
562
562
|
return dayjs(date).locale("fr").format("MMMM");
|
|
563
563
|
default:
|
|
564
|
-
return dayjs(date).format(`DD
|
|
564
|
+
return dayjs(date).format(`DD/MM/YYYY`);
|
|
565
565
|
// return dayjs(date).format(`YYYY${separator}MM${separator}DD`);
|
|
566
566
|
}
|
|
567
567
|
};
|