mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(bug)(profile) timezone not set correctly when area&loc not published
This commit is contained in:
parent
48e1824c26
commit
15b9f0225a
@ -765,7 +765,7 @@ router.post('/profile/save', handleErrorAsync(async (req, res) => {
|
||||
}) };
|
||||
});
|
||||
const sensitive = profile.sensitive.filter((x) => !!x).map((x) => x.substring(0, 64));
|
||||
const timezone = profile.timezone && profile.timezone.tz && profile.timezone.area && profile.timezone.loc
|
||||
const timezone = profile.timezone && profile.timezone.tz
|
||||
? {
|
||||
tz: profile.timezone.tz,
|
||||
area: profile.timezone.area,
|
||||
|
Loading…
x
Reference in New Issue
Block a user