@trackunit/iris-app-runtime-core 0.3.28 → 0.3.30-alpha-47c0e3bbca.0
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/index.cjs +3 -3
- package/index.js +3 -3
- package/package.json +3 -3
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("
|
|
194
|
-
const month = date.toLocaleString("
|
|
195
|
-
const year = date.toLocaleString("
|
|
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("
|
|
191
|
-
const month = date.toLocaleString("
|
|
192
|
-
const year = date.toLocaleString("
|
|
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.
|
|
3
|
+
"version": "0.3.30-alpha-47c0e3bbca.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"types": "./src/index.d.ts",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "0.3.
|
|
12
|
-
"@trackunit/react-core-contexts-api": "0.2.
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "0.3.26-alpha-47c0e3bbca.0",
|
|
12
|
+
"@trackunit/react-core-contexts-api": "0.2.25-alpha-47c0e3bbca.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {}
|
|
15
15
|
}
|