Merge branch 'develop' into feature/db_session_store

This commit is contained in:
Elian Doran
2025-05-17 09:51:18 +03:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -36,11 +36,11 @@ export async function initializeTranslations() {
} catch (err) {
console.warn(`Could not load locale ${dayjsLocale}`, err);
}
dayjs.locale(dayjsLocale);
}
export function ordinal(date: Dayjs) {
return dayjs(date)
.locale(dayjsLocale)
.format("Do");
}