@reykjavik/webtools 0.1.25 → 0.1.26

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,13 @@
4
4
 
5
5
  - ... <!-- Add new lines here. -->
6
6
 
7
+ ## 0.1.26
8
+
9
+ _2024-05-25_
10
+
11
+ - `@reykjavik/webtools/fixIcelandicLocale`:
12
+ - fix: Emit `"*dagur, "`, not `"*dagurinn "` from `Intl.DateTimeFormat`
13
+
7
14
  ## 0.1.25
8
15
 
9
16
  _2024-05-17_
@@ -172,7 +172,7 @@ const partMappers = {
172
172
  },
173
173
  literal: (value, lastType) => {
174
174
  if (value === ' den ') {
175
- return 'inn ';
175
+ return ', ';
176
176
  }
177
177
  else if (value === '.' && (lastType === 'hour' || lastType === 'minute')) {
178
178
  return ':';
@@ -177,7 +177,7 @@ const partMappers = {
177
177
  },
178
178
  literal: (value, lastType) => {
179
179
  if (value === ' den ') {
180
- return 'inn ';
180
+ return ', ';
181
181
  }
182
182
  else if (value === '.' && (lastType === 'hour' || lastType === 'minute')) {
183
183
  return ':';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reykjavik/webtools",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Misc. JS/TS helpers used by Reykjavík City's web dev teams.",
5
5
  "main": "index.js",
6
6
  "repository": "ssh://git@github.com:reykjavikcity/webtools.git",