feat: Add brainrot locale

This commit is contained in:
Jesse Wierzbinski 2024-12-07 23:05:26 +01:00
parent 2ceee4827f
commit c3a2e5e850
No known key found for this signature in database
26 changed files with 355 additions and 36 deletions

View file

@ -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);