Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store and handle a user TimeZone setting #178

Open
DavidRieman opened this issue May 29, 2023 · 0 comments
Open

Store and handle a user TimeZone setting #178

DavidRieman opened this issue May 29, 2023 · 0 comments
Labels
enhancement This task is adding new behavior or performing other refactoring improvements.

Comments

@DavidRieman
Copy link
Owner

DavidRieman commented May 29, 2023

When the server sends clock time displays (such as for account creation history display, or a "give me the current time" command or message board post dates and the like), it may be ok to default to sending the date/time via the server's time zone. However, the user should be allowed to optionally specify their time zone so that the server can convert the date/time to the user's time zone.

For this ticket, we should:

  • The user's TimeZone should probably be stored somewhere within the User object (not just the Player). (Ensure the format stored will be brief but helpful for standard DateTime conversions).
  • Add a command to set the TimeZone.
  • Look for existing DateTime presentations to adjust to the presentation taking the user's TimeZone into consideration with standard DateTime conversion means. (No funky math; don't roll your own!) (If this is too much, file a separate ticket for this part instead.)
@DavidRieman DavidRieman added the enhancement This task is adding new behavior or performing other refactoring improvements. label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This task is adding new behavior or performing other refactoring improvements.
Projects
None yet
Development

No branches or pull requests

1 participant