@ciwergrp/nuxid 1.7.1 → 1.7.2

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ciwergrp/nuxid",
3
3
  "configKey": "nuxid",
4
- "version": "1.7.1",
4
+ "version": "1.7.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -2,7 +2,8 @@ export function localDateToUTCISO(value, options) {
2
2
  if (!value) {
3
3
  return void 0;
4
4
  }
5
- const [yearRaw, monthRaw, dayRaw] = value.split("-");
5
+ const localDateValue = value.split("T")[0];
6
+ const [yearRaw, monthRaw, dayRaw] = localDateValue.split("-");
6
7
  const year = Number(yearRaw);
7
8
  const month = Number(monthRaw);
8
9
  const day = Number(dayRaw);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciwergrp/nuxid",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "All-in-one essential modules for Nuxt",
5
5
  "repository": {
6
6
  "type": "git",