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