@etsoo/shared 1.1.54 → 1.1.55

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.
@@ -77,6 +77,11 @@ test('Tests for substract', () => {
77
77
  expect(d2.substract(d1).totalMinutes > 10).toBeTruthy();
78
78
  });
79
79
 
80
+ test('Tests for parse', () => {
81
+ const d1 = DateUtils.parse('2014-01-01T13:13:34.441Z')?.toJSON();
82
+ expect(d1).toBe('2014-01-01T13:13:34.441Z');
83
+ });
84
+
80
85
  test('Tests for sameDay', () => {
81
86
  expect(
82
87
  DateUtils.sameDay('2022/9/11 22:03', new Date(2022, 8, 11, 10, 3))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/shared",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "TypeScript shared utilities and functions",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",