Add editing role name / colour.

Animate avatars on message hover.
Switch to 24-hour time format by default.
This commit is contained in:
Paul
2021-07-14 13:25:40 +01:00
parent f05e6088f7
commit 5629999fb2
9 changed files with 122 additions and 44 deletions

View File

@@ -150,7 +150,10 @@ function Locale({ children, locale }: Props) {
const dayjs = obj.dayjs;
const defaults = dayjs.defaults;
const twelvehour = defaults?.twelvehour === "yes" || true;
const twelvehour = defaults?.twelvehour
? defaults.twelvehour === "yes"
: false;
const separator: string = defaults?.date_separator ?? "/";
const date: "traditional" | "simplified" | "ISO8601" =
defaults?.date_format ?? "traditional";