@7365admin1/layer-common 4.97.1-staging.727 → 4.97.1-staging.728
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.
|
@@ -230,7 +230,8 @@ function toRoute(status: any) {
|
|
|
230
230
|
|
|
231
231
|
function toLocalDate(utcString: string) {
|
|
232
232
|
if (!utcString) return ""
|
|
233
|
-
|
|
233
|
+
// DD/MM/YYYY, the same as the bulletin's details (BulletinBoardView).
|
|
234
|
+
return new Date(utcString).toLocaleDateString("en-GB", {
|
|
234
235
|
year: "numeric",
|
|
235
236
|
month: "2-digit",
|
|
236
237
|
day: "2-digit",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.728",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|