@fy-/fws-vue 2.3.38 → 2.3.39

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.
@@ -109,7 +109,7 @@ function formatDatetime(dt: Date | string | number) {
109
109
 
110
110
  function formatTimeago(dt: Date | string | number) {
111
111
  const timestamp = parseDateInput(dt)
112
- const locale = getLocale().replace('_', '-')
112
+ const locale = getLocale().split('-')[0].toLocaleLowerCase()
113
113
 
114
114
  return formatDateTimeago(new Date(timestamp), locale)
115
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.38",
3
+ "version": "2.3.39",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",