@eui/tools 6.16.32 → 6.16.33

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.
@@ -1 +1 @@
1
- 6.16.32
1
+ 6.16.33
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.16.33 (2024-07-02)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * align English-Swedish locale of Moment.JS - EUI-9579 [EUI-9579](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9579) ([51db5777](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/51db5777c2b5ae71a1b8cdd0f2c82d4bf260d3fd))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.16.32 (2024-07-02)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.32",
3
+ "version": "6.16.33",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -107,7 +107,23 @@ moment.defineLocale('en-im', { parentLocale: 'en', longDateFormat });
107
107
  moment.defineLocale('en-je', { parentLocale: 'en', longDateFormat });
108
108
  moment.defineLocale('en-mt', { parentLocale: 'en', longDateFormat });
109
109
  moment.defineLocale('en-nl', { parentLocale: 'en', longDateFormat });
110
- moment.defineLocale('en-se', { parentLocale: 'en', longDateFormat });
110
+ moment.defineLocale('en-se', {
111
+ parentLocale: 'en',
112
+ longDateFormat: {
113
+ /** LTS: Specifies the format for displaying time with seconds. */
114
+ LT: 'HH:mm',
115
+ /** LT: Specifies the format for displaying time without seconds. */
116
+ LTS: 'HH:mm:ss',
117
+ /** L: Specifies the format for displaying the date in short format. */
118
+ L: 'Y-MM-DD',
119
+ /** LL: Specifies the format for displaying the date in long format. */
120
+ LL: 'D MMMM YYYY',
121
+ /** LLL: Specifies the format for displaying the date and time. */
122
+ LLL: 'D MMMM YYYY HH:mm',
123
+ /** LLLL: Specifies the format for displaying the full date and time with the day of the week. */
124
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
125
+ }
126
+ });
111
127
  moment.defineLocale('en-si', { parentLocale: 'en', longDateFormat });
112
128
  moment.defineLocale('fr-be', { parentLocale: 'fr', longDateFormat });
113
129
  moment.defineLocale('fr-lu', { parentLocale: 'fr', longDateFormat });
@@ -107,7 +107,23 @@ moment.defineLocale('en-im', { parentLocale: 'en', longDateFormat });
107
107
  moment.defineLocale('en-je', { parentLocale: 'en', longDateFormat });
108
108
  moment.defineLocale('en-mt', { parentLocale: 'en', longDateFormat });
109
109
  moment.defineLocale('en-nl', { parentLocale: 'en', longDateFormat });
110
- moment.defineLocale('en-se', { parentLocale: 'en', longDateFormat });
110
+ moment.defineLocale('en-se', {
111
+ parentLocale: 'en',
112
+ longDateFormat: {
113
+ /** LTS: Specifies the format for displaying time with seconds. */
114
+ LT: 'HH:mm',
115
+ /** LT: Specifies the format for displaying time without seconds. */
116
+ LTS: 'HH:mm:ss',
117
+ /** L: Specifies the format for displaying the date in short format. */
118
+ L: 'Y-MM-DD',
119
+ /** LL: Specifies the format for displaying the date in long format. */
120
+ LL: 'D MMMM YYYY',
121
+ /** LLL: Specifies the format for displaying the date and time. */
122
+ LLL: 'D MMMM YYYY HH:mm',
123
+ /** LLLL: Specifies the format for displaying the full date and time with the day of the week. */
124
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
125
+ }
126
+ });
111
127
  moment.defineLocale('en-si', { parentLocale: 'en', longDateFormat });
112
128
  moment.defineLocale('fr-be', { parentLocale: 'fr', longDateFormat });
113
129
  moment.defineLocale('fr-lu', { parentLocale: 'fr', longDateFormat });