ywana-core8 0.0.334 → 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.umd.js CHANGED
@@ -1779,7 +1779,9 @@
1779
1779
 
1780
1780
  switch (format) {
1781
1781
  case FORMATS.DATE:
1782
- text = new Date(text).toLocaleString(locale, {
1782
+ var fecha = new Date(text);
1783
+ fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
1784
+ text = fecha.toLocaleString(locale, {
1783
1785
  year: 'numeric',
1784
1786
  month: 'numeric',
1785
1787
  day: 'numeric'