acsi-core 1.2.5 → 1.2.6

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.
@@ -0,0 +1,6 @@
1
+ declare const _default: () => string;
2
+ /**
3
+ * Get the user's timezone ID (IANA timezone identifier)
4
+ * @returns Timezone ID (e.g., "Asia/Ho_Chi_Minh", "America/New_York")
5
+ */
6
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: (time: string, FORMAT?: string | undefined) => string;
2
+ /**
3
+ * Converts local time to UTC format for server API calls
4
+ * @param time - Local time string (can be ISO format or other moment-parseable formats)
5
+ * @param FORMAT - Optional output format (default: "YYYY-MM-DDTHH:mm:ss[Z]")
6
+ * @returns UTC formatted time string
7
+ */
8
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acsi-core",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Contains core components && functions for acsi-core project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -32,6 +32,7 @@
32
32
  "link": "^2.1.0",
33
33
  "lodash": "^4.17.21",
34
34
  "moment": "^2.29.4",
35
+ "moment-timezone": "^0.6.0",
35
36
  "node-sass": "^7.0.3",
36
37
  "pusher-js": "^8.4.0-rc2",
37
38
  "react-google-recaptcha-v3": "^1.10.1",