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

HtmlHelper: fix broken detection of current time #8640 #8746

Merged

Conversation

whipermr5
Copy link
Member

Stopgap solution for #8640 to get the build to pass until the issue can be properly fixed. Instead of doing time zone detection, recognise all dates within one day from now as the current date to account for time zone differences.

@whipermr5 whipermr5 force-pushed the 8640-now-detection-stopgap-fix branch from 717066a to 84aeb6f Compare April 1, 2018 17:53
@whipermr5 whipermr5 added the s.ToReview The PR is waiting for review(s) label Apr 1, 2018
Copy link
Member

@wkurniawan07 wkurniawan07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't look like we can do much now; let's merge this.

@wkurniawan07 wkurniawan07 added s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging and removed s.ToReview The PR is waiting for review(s) labels Apr 2, 2018
Names should not give the impression of containing times when they only contain dates
dateTime* -> date*
*Now -> *Today
*NowMinusOneDay -> *Yesterday
*NowPlusOneDay -> *Tomorrow
@whipermr5 whipermr5 added this to the V6.5.0 milestone Apr 2, 2018
@whipermr5 whipermr5 added the e.1 label Apr 2, 2018
@whipermr5 whipermr5 merged commit e47e73b into TEAMMATES:master Apr 2, 2018
@whipermr5 whipermr5 deleted the 8640-now-detection-stopgap-fix branch April 2, 2018 05:31
jacoblipech pushed a commit to jacoblipech/teammates that referenced this pull request Apr 3, 2018
jacoblipech pushed a commit to jacoblipech/teammates that referenced this pull request May 14, 2018
jacoblipech pushed a commit to jacoblipech/teammates that referenced this pull request Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants