Skip to content

Conversation

@terrazoon
Copy link
Contributor

@terrazoon terrazoon commented May 10, 2023

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.

@terrazoon terrazoon temporarily deployed to staging May 10, 2023 15:43 — with GitHub Actions Inactive
@terrazoon terrazoon temporarily deployed to staging May 10, 2023 16:05 — with GitHub Actions Inactive
@terrazoon terrazoon temporarily deployed to staging May 10, 2023 16:58 — with GitHub Actions Inactive
@terrazoon terrazoon requested a review from stvnrlly May 10, 2023 17:55
@terrazoon terrazoon marked this pull request as draft May 19, 2023 18:10
@terrazoon terrazoon mentioned this pull request May 24, 2023
@terrazoon terrazoon linked an issue May 24, 2023 that may be closed by this pull request
@terrazoon terrazoon closed this May 29, 2023
@terrazoon terrazoon reopened this May 30, 2023
@terrazoon terrazoon temporarily deployed to staging May 30, 2023 19:17 — with GitHub Actions Inactive
@terrazoon terrazoon marked this pull request as ready for review May 30, 2023 19:38
@terrazoon terrazoon requested a review from ccostino May 30, 2023 19:39
@terrazoon terrazoon temporarily deployed to staging May 31, 2023 15:53 — with GitHub Actions Inactive
@terrazoon
Copy link
Contributor Author

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.

@terrazoon terrazoon temporarily deployed to staging May 31, 2023 15:58 — with GitHub Actions Inactive
@terrazoon terrazoon temporarily deployed to staging May 31, 2023 17:07 — with GitHub Actions Inactive
Copy link
Contributor

@stvnrlly stvnrlly left a 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

@terrazoon terrazoon temporarily deployed to staging June 1, 2023 14:07 — with GitHub Actions Inactive
@terrazoon terrazoon merged commit 75fd8cf into main Jun 1, 2023
@terrazoon terrazoon deleted the notify-260 branch June 1, 2023 14:16
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

Successfully merging this pull request may close these issues.

Only use UTC times

3 participants