@wayke-se/components-react 3.0.0-beta.5 → 3.0.0-beta.7
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/dist/index.js +4 -4
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/esbuild/common.js +1 -1
- package/esbuild/lib.js +0 -1
- package/esbuild/start.js +1 -0
- package/package.json +1 -1
- package/src/components/Gallery/index.tsx +1 -0
- package/src/utils/formats.ts +1 -1
- package/www/index.html +1 -1
package/dist/index.js
CHANGED
|
@@ -2131,7 +2131,7 @@
|
|
|
2131
2131
|
|
|
2132
2132
|
// src/utils/formats.ts
|
|
2133
2133
|
var import_date_fns = __require("date-fns");
|
|
2134
|
-
var
|
|
2134
|
+
var import_sv = __toESM(__require("date-fns/locale/sv"));
|
|
2135
2135
|
|
|
2136
2136
|
// src/utils/constants.ts
|
|
2137
2137
|
var MANUFACTURER = "manufacturer";
|
|
@@ -2210,11 +2210,11 @@
|
|
|
2210
2210
|
const date = new Date(value);
|
|
2211
2211
|
switch (format) {
|
|
2212
2212
|
case dateTimeFormat.YearMonth:
|
|
2213
|
-
return (0, import_date_fns.format)(date, "MMMM yyyy", { locale:
|
|
2213
|
+
return (0, import_date_fns.format)(date, "MMMM yyyy", { locale: import_sv.default });
|
|
2214
2214
|
case dateTimeFormat.DayMonth:
|
|
2215
|
-
return (0, import_date_fns.format)(date, "d MMMM yyyy", { locale:
|
|
2215
|
+
return (0, import_date_fns.format)(date, "d MMMM yyyy", { locale: import_sv.default });
|
|
2216
2216
|
default:
|
|
2217
|
-
return (0, import_date_fns.format)(date, "yyyy-MM-dd HH:mm", { locale:
|
|
2217
|
+
return (0, import_date_fns.format)(date, "yyyy-MM-dd HH:mm", { locale: import_sv.default });
|
|
2218
2218
|
}
|
|
2219
2219
|
}
|
|
2220
2220
|
};
|