ywana-core8 0.0.336 → 0.0.337
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +2 -2
package/dist/index.modern.js
CHANGED
@@ -1776,13 +1776,13 @@ var StringCellViewer = function StringCellViewer(_ref7) {
|
|
1776
1776
|
|
1777
1777
|
switch (format) {
|
1778
1778
|
case FORMATS.DATE:
|
1779
|
-
var fecha = new Date(text)
|
1779
|
+
var fecha = new Date(text);
|
1780
|
+
fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
|
1781
|
+
text = fecha.toLocaleString(locale, {
|
1780
1782
|
year: 'numeric',
|
1781
1783
|
month: 'numeric',
|
1782
1784
|
day: 'numeric'
|
1783
1785
|
});
|
1784
|
-
fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
|
1785
|
-
text = fecha;
|
1786
1786
|
break;
|
1787
1787
|
|
1788
1788
|
case FORMATS.TIME:
|