ywana-core8 0.0.335 → 0.0.336
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +7 -10
package/dist/index.cjs
CHANGED
@@ -1784,11 +1784,13 @@ var StringCellViewer = function StringCellViewer(_ref7) {
|
|
1784
1784
|
|
1785
1785
|
switch (format) {
|
1786
1786
|
case FORMATS.DATE:
|
1787
|
-
|
1787
|
+
var fecha = new Date(text).toLocaleString(locale, {
|
1788
1788
|
year: 'numeric',
|
1789
1789
|
month: 'numeric',
|
1790
1790
|
day: 'numeric'
|
1791
1791
|
});
|
1792
|
+
fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
|
1793
|
+
text = fecha;
|
1792
1794
|
break;
|
1793
1795
|
|
1794
1796
|
case FORMATS.TIME:
|