ywana-core8 0.0.861 → 0.0.863
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 +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +11 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +11 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentType.js +1 -0
- package/src/html/table.js +3 -0
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -357,6 +357,9 @@ const StringCellViewer = ({ id, value, format, options, action }) => {
|
|
357
357
|
case FORMATS.TIME:
|
358
358
|
text = new Date(text).toLocaleString(locale, { year: 'hour', month: 'minute', day: 'second' });
|
359
359
|
break;
|
360
|
+
case FORMATS.DATETIME:
|
361
|
+
text = new Date(text).toLocaleString(locale, { year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric' });
|
362
|
+
break;
|
360
363
|
}
|
361
364
|
return (<div className={`field-editor string-viewer ${className}`} title={text}>{text}</div>)
|
362
365
|
}
|