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

Add local time support #223

Closed
1 task
yangm97 opened this issue Jul 26, 2017 · 3 comments
Closed
1 task

Add local time support #223

yangm97 opened this issue Jul 26, 2017 · 3 comments

Comments

@yangm97
Copy link
Member

yangm97 commented Jul 26, 2017

Right now the bot is programmed to output UTC timestamps whenever date is needed. But we should add support for timezones in order to allow further expansion of GB feature set.

  • Save/read chat timezone on database
@NotAFile
Copy link
Collaborator

Hm, I see this as problematic — many users might be in different timezones and I am not sure how the bot would handle that.

@yangm97
Copy link
Member Author

yangm97 commented Jul 26, 2017

@NotAFile 1. Default to UTC (it already does that)
2. Let users send their location (using the telegram API) or city name
3. Store the timezone on the database.

I do expect this to be implemented after the postgres migration though

@RememberTheAir
Copy link
Member

@yangm97 what kind of features are you thinking about? Because right now all the time-based things the bot offers do not require to print dates

@yangm97 yangm97 closed this as completed Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants