ods-component-lib 1.14.5 → 1.14.8
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/index.js +3 -8
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -8
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1233,17 +1233,12 @@ function grid(props) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
};
|
|
1235
1235
|
var customizeDatetimeText = function customizeDatetimeText(cellInfo) {
|
|
1236
|
-
var windowLanguage = "";
|
|
1237
|
-
if (typeof window.Intl === 'object') {
|
|
1238
|
-
windowLanguage = window.navigator.language;
|
|
1239
|
-
console.log(windowLanguage);
|
|
1240
|
-
}
|
|
1241
1236
|
var dateTimeValue = cellInfo.value;
|
|
1242
1237
|
if (dateTimeValue) {
|
|
1243
|
-
var
|
|
1244
|
-
return
|
|
1238
|
+
var formatedDate = moment(cellInfo.value).format('DD.MM.YYYY HH.mm (ZZ)');
|
|
1239
|
+
return formatedDate;
|
|
1245
1240
|
}
|
|
1246
|
-
return
|
|
1241
|
+
return cellInfo.value;
|
|
1247
1242
|
};
|
|
1248
1243
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
1249
1244
|
className: "odsDatagrid",
|