-
Notifications
You must be signed in to change notification settings - Fork 12
notify-260 remove server-side timezone handling #272
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
Conversation
|
This PR also contains fixes for notify-281 (fix time-sensitive tests). The issue was that a couple of methods in some of the DAO classes were using date.today() instead of datetime.utcnow().date(). So if we ran in the evening California time, UTC would be one day ahead, and the DAO classes would search for results over the wrong time range. |
stvnrlly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just some minor feedback
Remove all calls to "convert_est_to_utc", "convert_local_to_utc", "convert_utc_to_est" etc. from the api code and fix all the tests.