@trackunit/iris-app-runtime-core 0.3.28 → 0.3.29

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.
Files changed (3) hide show
  1. package/index.cjs +3 -3
  2. package/index.js +3 -3
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -190,9 +190,9 @@ const getStringValue = (value) => {
190
190
  */
191
191
  const getDateValue = (value) => {
192
192
  const date = new Date(value);
193
- const day = date.toLocaleString("default", { day: "2-digit" });
194
- const month = date.toLocaleString("default", { month: "2-digit" });
195
- const year = date.toLocaleString("default", { year: "numeric" });
193
+ const day = date.toLocaleString("en-US", { day: "2-digit" });
194
+ const month = date.toLocaleString("en-US", { month: "2-digit" });
195
+ const year = date.toLocaleString("en-US", { year: "numeric" });
196
196
  return `${year}-${month}-${day}`;
197
197
  };
198
198
  const CustomFieldRuntime = {
package/index.js CHANGED
@@ -187,9 +187,9 @@ const getStringValue = (value) => {
187
187
  */
188
188
  const getDateValue = (value) => {
189
189
  const date = new Date(value);
190
- const day = date.toLocaleString("default", { day: "2-digit" });
191
- const month = date.toLocaleString("default", { month: "2-digit" });
192
- const year = date.toLocaleString("default", { year: "numeric" });
190
+ const day = date.toLocaleString("en-US", { day: "2-digit" });
191
+ const month = date.toLocaleString("en-US", { month: "2-digit" });
192
+ const year = date.toLocaleString("en-US", { year: "numeric" });
193
193
  return `${year}-${month}-${day}`;
194
194
  };
195
195
  const CustomFieldRuntime = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",