From 1cb5856f7cf6151327637de08fa29074aca18c2d Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Sun, 14 Aug 2022 23:59:50 -0400 Subject: [PATCH] Fix birthday time offset and date locale The user's configred birthday is stored as UTC time, so use that for display as well. This means the birthday won't be shown as a day behind or ahead depending on the user's browser timezone. Also use the locale configured in the user's client settings in Misskey for date formatting. --- packages/client/src/components/global/time.vue | 10 +++++++--- packages/client/src/pages/user/home.vue | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/client/src/components/global/time.vue b/packages/client/src/components/global/time.vue index 529be1603..c4e904350 100644 --- a/packages/client/src/components/global/time.vue +++ b/packages/client/src/components/global/time.vue @@ -9,22 +9,26 @@