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.umd.js CHANGED
@@ -1779,7 +1779,11 @@
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
+ console.log("fecha1", fecha);
1784
+ fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
1785
+ console.log("fecha2", fecha);
1786
+ text = fecha.toLocaleString(locale, {
1783
1787
  year: 'numeric',
1784
1788
  month: 'numeric',
1785
1789
  day: 'numeric'