@cdmx/wappler_ag_grid 1.4.0 → 1.4.1

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.
Files changed (2) hide show
  1. package/dmx-ag-grid.js +4 -1
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -706,7 +706,10 @@ dmx.Component('ag-grid', {
706
706
  };
707
707
 
708
708
  const convertedTimestamp = date.toLocaleString(options.date_locale, options);
709
- dateTimezone = new Date(convertedTimestamp).getTime();
709
+ const [datePart, timePart] = convertedTimestamp.split(', ');
710
+ const [day, month, year] = datePart.split('/');
711
+ const [hours, minutes, seconds] = timePart.split(':');
712
+ const dateTimezone = new Date(`${year}-${month}-${day}T${hours}:${minutes}:${seconds}`).getTime();
710
713
  return formatDate(dateTimezone)
711
714
  } else {
712
715
  return formatDate(date);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",