ywana-core8 0.0.198 → 0.0.199
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -177,7 +177,7 @@ const StringCellViewer = ({ id, value, format, options }) => {
|
|
177
177
|
const option = options ? options.find(o => o.value === value) : null
|
178
178
|
let text = option ? option.label : value
|
179
179
|
switch (format) {
|
180
|
-
case FORMATS.DATE: text = new Date(text).
|
180
|
+
case FORMATS.DATE: text = new Date(text).toLocaleString(); break;
|
181
181
|
}
|
182
182
|
return (<div className="field-editor string-viewer">{text}</div>)
|
183
183
|
}
|