starter
starter copied to clipboard
Handle SSR of timestamptz
Server timezone may differ from client timezone leading to dates being rendered differently on client vs server and causing hydration issues. For example, reload the email management page.
@benjie I actually ran in to this as I'm developing in docker which was UTC and my browser which is CET. I think it would be nice to have a comment in the code that if the date is causing hydration errors either update the TZ env variable on the server or have the timezone added as a field in the user table or so?