ywana-core8 0.0.335 → 0.0.338

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 CHANGED
@@ -1784,7 +1784,11 @@ var StringCellViewer = function StringCellViewer(_ref7) {
1784
1784
 
1785
1785
  switch (format) {
1786
1786
  case FORMATS.DATE:
1787
- text = new Date(text).toLocaleString(locale, {
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'