mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
feat: ✨ Add brainrot locale
This commit is contained in:
parent
2ceee4827f
commit
c3a2e5e850
26 changed files with 355 additions and 36 deletions
|
|
@ -25,7 +25,6 @@
|
|||
<script lang="ts" setup>
|
||||
import { CalendarDays } from "lucide-vue-next";
|
||||
import * as m from "~/paraglide/messages.js";
|
||||
import { languageTag } from "~/paraglide/runtime";
|
||||
|
||||
const { creationDate } = defineProps<{
|
||||
creationDate: Date;
|
||||
|
|
@ -34,7 +33,7 @@ const { creationDate } = defineProps<{
|
|||
followingCount: number;
|
||||
}>();
|
||||
|
||||
const formattedCreationDate = new Intl.DateTimeFormat(languageTag(), {
|
||||
const formattedCreationDate = new Intl.DateTimeFormat(getLanguageTag(), {
|
||||
month: "long",
|
||||
year: "numeric",
|
||||
}).format(creationDate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue