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

Fix milestone publication date comparison #3760

Merged
merged 3 commits into from
Oct 10, 2019
Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented Oct 10, 2019

Objectives

  • Fix a bug which made today's milestone not being shown as published
  • Make the tests for Milestone.published easier to follow

"With different time zone" didn't clarify which time zone was different
nor what it was different to.
It was a bit confusing, since Travis uses UTC as the system zone, while
most application zones are not UTC.
We're storing the publication date as datetime in the database, and we
were comparing it to a date, meaning today's milestones were not being
found.
@javierm javierm added the Bug label Oct 10, 2019
@javierm javierm self-assigned this Oct 10, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Oct 10, 2019
@javierm javierm merged commit dd8bc5c into master Oct 10, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Oct 10, 2019
@javierm javierm deleted the fix_milestone_published branch October 10, 2019 18:58
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
…lished

Fix milestone publication date comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

1 participant