@eeacms/volto-clms-theme 1.1.266 → 1.1.268

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/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.1.268](https://github.com/eea/volto-clms-theme/compare/1.1.267...1.1.268) - 19 January 2026
8
+
9
+ ### [1.1.267](https://github.com/eea/volto-clms-theme/compare/1.1.266...1.1.267) - 16 December 2025
10
+
7
11
  ### [1.1.266](https://github.com/eea/volto-clms-theme/compare/1.1.265...1.1.266) - 11 December 2025
8
12
 
9
13
  ### [1.1.265](https://github.com/eea/volto-clms-theme/compare/1.1.264...1.1.265) - 11 December 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.266",
3
+ "version": "1.1.268",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -28,6 +28,17 @@ export const TimeseriesPicker = (props) => {
28
28
  );
29
29
  const [isOpen, setIsOpen] = useState(false);
30
30
 
31
+ const toISOIgnoreTimezone = (inputDate) => {
32
+ return (
33
+ inputDate.getFullYear() +
34
+ '-' +
35
+ ('0' + (inputDate.getMonth() + 1)).slice(-2) +
36
+ '-' +
37
+ ('0' + inputDate.getDate()).slice(-2) +
38
+ 'T00:00:00.000Z'
39
+ );
40
+ };
41
+
31
42
  const isValidDateRange = ({ start, end, limit }) => {
32
43
  /* Calculate if the difference in days is smaller than the allowed limit */
33
44
  const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds
@@ -121,6 +132,7 @@ export const TimeseriesPicker = (props) => {
121
132
  download_limit_temporal_extent < 180 ? dates_array : null
122
133
  }
123
134
  disabledKeyboardNavigation
135
+ timeZone="UTC"
124
136
  >
125
137
  {(item?.TemporalFilter?.StartDate ||
126
138
  item?.TemporalFilter?.EndDate) && (
@@ -192,12 +204,12 @@ export const TimeseriesPicker = (props) => {
192
204
  }
193
205
  onClick={() => {
194
206
  item.TemporalFilter = {
195
- StartDate: startValue,
196
- EndDate: endValue,
207
+ StartDate: toISOIgnoreTimezone(startValue),
208
+ EndDate: toISOIgnoreTimezone(endValue),
197
209
  };
198
210
  setTimeseriesValue(item.unique_id, {
199
- StartDate: startValue,
200
- EndDate: endValue,
211
+ StartDate: toISOIgnoreTimezone(startValue),
212
+ EndDate: toISOIgnoreTimezone(endValue),
201
213
  });
202
214
  setIsOpen(false);
203
215
  }}
@@ -45,6 +45,7 @@ const ItemSchema = () => ({
45
45
  description: '',
46
46
  choices: [
47
47
  ['CDSE', 'CDSE'],
48
+ ['CDSE_CSV', 'CDSE_CSV'],
48
49
  ['WEKEO', 'WEKEO'],
49
50
  ['EEA', 'EEA'],
50
51
  ['LANDCOVER', 'LANDCOVER'],