mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-28 21:57:23 +02:00
✨ Use only geographic time zones (#1033)
This commit is contained in:
parent
39a22acaa7
commit
27dda65ca5
31 changed files with 1416 additions and 618 deletions
|
@ -265,14 +265,12 @@ const getAuthOptions = (...args: GetServerSessionParams) =>
|
|||
}
|
||||
token = { ...token, ...session };
|
||||
}
|
||||
|
||||
if (trigger === "signIn" && user) {
|
||||
token.locale = user.locale;
|
||||
token.timeFormat = user.timeFormat;
|
||||
token.timeZone = user.timeZone;
|
||||
token.weekStart = user.weekStart;
|
||||
}
|
||||
|
||||
return token;
|
||||
},
|
||||
async session({ session, token }) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue