@carlosdiazz/lottodiz-shared 2.3.2 → 2.3.3

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.
@@ -44,6 +44,13 @@ const validateDate = (date_verify, arrs) => {
44
44
  // Lottery Usa
45
45
  format_dates.push(dayjs_1.default.utc(date_verify).locale("en").format("MMM D, YYYY").toUpperCase());
46
46
  format_dates.push(dayjs_1.default.utc(date_verify).locale("en").format("MMM DD, YYYY").toUpperCase());
47
+ //! FRANCES
48
+ dayjs_1.default.locale("fr");
49
+ //Haiti Bolet
50
+ dayjs_1.default
51
+ .utc(date_verify)
52
+ .format("dddd D [De] MMMM [De] YYYY [- 08:30 Am]")
53
+ .toUpperCase();
47
54
  const is_valid = format_dates.includes(date);
48
55
  if (!is_valid)
49
56
  throw new Error(`This is not the date to look for => Date: "${date}" format_dates: [${format_dates.join("|")}]`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,