@ejfdelgado/ejflab-common 1.13.1 → 1.13.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ejfdelgado/ejflab-common",
3
3
  "type": "commonjs",
4
- "version": "1.13.1",
4
+ "version": "1.13.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ejfdelgado/ejflab-common.git"
@@ -13,16 +13,16 @@ class MyDatesFront extends MyDates {
13
13
  }
14
14
  }
15
15
  static formatDate(now, ...args) {
16
- return MyDates.formatDateBasic(dateformat.default, now, args);
16
+ return MyDates.formatDateBasic(dateformat.default, now, ...args);
17
17
  }
18
18
  static formatDateCompleto(now, ...args) {
19
- return MyDates.formatDateCompletoBasic(dateformat.default, now, args);
19
+ return MyDates.formatDateCompletoBasic(dateformat.default, now, ...args);
20
20
  }
21
21
  static formatDateSimple(now, ...args) {
22
- return MyDates.formatDateSimpleBasic(dateformat.default, now, args);
22
+ return MyDates.formatDateSimpleBasic(dateformat.default, now, ...args);
23
23
  }
24
24
  static formatTime(now, ...args) {
25
- return MyDates.formatTimeBasic(dateformat.default, now, args);
25
+ return MyDates.formatTimeBasic(dateformat.default, now, ...args);
26
26
  }
27
27
  static getServerTime() {
28
28
  return new Date().getTime() - this.timeDifference;