@zauru-sdk/common 1.0.83 → 1.0.85

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.85](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.84...v1.0.85) (2024-08-02)
7
+
8
+ **Note:** Version bump only for package @zauru-sdk/common
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.84](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.83...v1.0.84) (2024-08-02)
15
+
16
+ **Note:** Version bump only for package @zauru-sdk/common
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.0.83](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.82...v1.0.83) (2024-08-01)
7
23
 
8
24
  **Note:** Version bump only for package @zauru-sdk/common
@@ -342,6 +342,7 @@ const getFormattedDate = (dateString) => {
342
342
  hour: "numeric",
343
343
  minute: "numeric",
344
344
  hour12: false,
345
+ timeZone: "UTC",
345
346
  };
346
347
  return new Intl.DateTimeFormat("es-ES", options).format(now);
347
348
  };
@@ -342,6 +342,7 @@ const getFormattedDate = (dateString) => {
342
342
  hour: "numeric",
343
343
  minute: "numeric",
344
344
  hour12: false,
345
+ timeZone: "UTC",
345
346
  };
346
347
  return new Intl.DateTimeFormat("es-ES", options).format(now);
347
348
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/common",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "Funciones de uso común en el desarrollo de webapps en Zauru",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@remix-run/node": "^2.8.1",
24
- "@zauru-sdk/types": "^1.0.83",
24
+ "@zauru-sdk/types": "^1.0.84",
25
25
  "moment": "^2.30.1",
26
26
  "moment-timezone": "^0.5.45"
27
27
  },
28
- "gitHead": "ee7c5a89327913cc2cb8755e215014e236e8799d"
28
+ "gitHead": "c7e7996e55df499512587555e89f4602b35d0b5d"
29
29
  }
package/src/common.ts CHANGED
@@ -393,6 +393,7 @@ export const getFormattedDate = (dateString?: string) => {
393
393
  hour: "numeric",
394
394
  minute: "numeric",
395
395
  hour12: false,
396
+ timeZone: "UTC",
396
397
  };
397
398
 
398
399
  return new Intl.DateTimeFormat("es-ES", options as any).format(now);