-
Notifications
You must be signed in to change notification settings - Fork 20
Closed as not planned
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:lowThis should be addressed only if there is nothing else on the tableThis should be addressed only if there is nothing else on the tabletype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
Timezone is hardcoded now in many places in the code. We use: datetime.now(tz=pytz.UTC) everywhere.
Proposed solution
We should set timezone once globally at the start of the program.
https://stackoverflow.com/questions/1301493/setting-timezone-in-python
Use cases
Otherwise module that forgot timezone would work wrong.
Alternatives and workarounds
Have one global config variable for the timezone.
Additional context
No response
Metadata
Metadata
Assignees
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:lowThis should be addressed only if there is nothing else on the tableThis should be addressed only if there is nothing else on the tabletype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users