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