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

Timezone setting #42

Open
finnbar opened this issue Oct 17, 2021 · 1 comment
Open

Timezone setting #42

finnbar opened this issue Oct 17, 2021 · 1 comment
Labels
backend issues involving the guts of tablebot enhancement New feature or request low priority for things that aren't really necessary major

Comments

@finnbar
Copy link
Collaborator

finnbar commented Oct 17, 2021

Timezones are a pain, because not only do they vary per country, but they also change. We currently default to UTC, which is correct for half of the time in the UK. Two possible solutions to this:

  1. A !timezone command which lets an admin set the bot's timezone. The challenge here is making sure that all plugins that use time respect this. You'll likely need some internal timezone helper file that provides plugins with this information (in an IORef?), and this command can mutate that information.
  2. See if we can specify the timezone based on location. This will likely still need an internal timezone helper file like in (1).
@finnbar finnbar added enhancement New feature or request low priority for things that aren't really necessary major labels Jan 2, 2022
@finnbar
Copy link
Collaborator Author

finnbar commented Jan 2, 2022

Low priority, since the bot is currently used in a UK server only, and many people use relative dates rather than absolute ones for reminders.

@finnbar finnbar added the backend issues involving the guts of tablebot label Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend issues involving the guts of tablebot enhancement New feature or request low priority for things that aren't really necessary major
Projects
None yet
Development

No branches or pull requests

1 participant