@cdmx/wappler_ag_grid 1.8.9 → 1.8.10

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 +3 -3
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -844,10 +844,10 @@ dmx.Component('ag-grid', {
844
844
  if (params.value) {
845
845
  const date = new Date(params.value)
846
846
  if (timezone) {
847
- const options = {
848
- timeZone: timezone,
847
+ const tzOptions = {
848
+ timeZone: timezone
849
849
  };
850
- const convertedTimestamp = date.toLocaleString(options.date_locale, options);
850
+ const convertedTimestamp = date.toLocaleString('en-GB', tzOptions);
851
851
  const [datePart, timePart] = convertedTimestamp.split(', ');
852
852
  const [day, month, year] = datePart.split('/');
853
853
  const [hours, minutes, seconds] = timePart.split(':');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.8.9",
3
+ "version": "1.8.10",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",