@carlosdiazz/lottodiz-shared 2.3.1 → 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.
@@ -25,6 +25,11 @@ const validateDate = (date_verify, arrs) => {
25
25
  //En Lote
26
26
  format_dates.push(dayjs_1.default.utc(date_verify).format("dddd DD [de] MMMM, YYYY").toUpperCase());
27
27
  format_dates.push(dayjs_1.default.utc(date_verify).format("dddd D [de] MMMM, YYYY").toUpperCase());
28
+ //Loto Salvador
29
+ format_dates.push(dayjs_1.default
30
+ .utc(date_verify)
31
+ .format("DD [de] MMMM, YYYY [a las 09:00 PM]")
32
+ .toUpperCase());
28
33
  //CHANCES COLOMBIA
29
34
  format_dates.push(dayjs_1.default.utc(date_verify).format("dddd DD MMMM YYYY").toUpperCase());
30
35
  format_dates.push(dayjs_1.default.utc(date_verify).format("dddd D MMMM YYYY").toUpperCase());
@@ -39,6 +44,13 @@ const validateDate = (date_verify, arrs) => {
39
44
  // Lottery Usa
40
45
  format_dates.push(dayjs_1.default.utc(date_verify).locale("en").format("MMM D, YYYY").toUpperCase());
41
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();
42
54
  const is_valid = format_dates.includes(date);
43
55
  if (!is_valid)
44
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.1",
3
+ "version": "2.3.3",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,