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.modern.js
CHANGED
@@ -1776,11 +1776,13 @@ var StringCellViewer = function StringCellViewer(_ref7) {
|
|
1776
1776
|
|
1777
1777
|
switch (format) {
|
1778
1778
|
case FORMATS.DATE:
|
1779
|
-
|
1779
|
+
var fecha = new Date(text).toLocaleString(locale, {
|
1780
1780
|
year: 'numeric',
|
1781
1781
|
month: 'numeric',
|
1782
1782
|
day: 'numeric'
|
1783
1783
|
});
|
1784
|
+
fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
|
1785
|
+
text = fecha;
|
1784
1786
|
break;
|
1785
1787
|
|
1786
1788
|
case FORMATS.TIME:
|