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

Use local timezone in telegram messages #102

Open
chchia opened this issue May 31, 2021 · 1 comment
Open

Use local timezone in telegram messages #102

chchia opened this issue May 31, 2021 · 1 comment

Comments

@chchia
Copy link

chchia commented May 31, 2021

Hi Thank you for the nice bot.

How can i set the time zone so that the bot can report all the trading according to my local timezone? i believe it is using UTC now.

image

and on the server where telegram bot running
image

@lorcalhost
Copy link
Owner

The date in messages is read from the database.
The one reported in the terminal comes from the machine's local timezone.

A feature could be implemented to automatically change the timezone to the one of the machine which is hosting the bot.

@lorcalhost lorcalhost changed the title Timezone Use local timezone in telegram messages Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants