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

Jamie/aus utc bug #4030

Merged
merged 8 commits into from
Jul 13, 2020
Merged

Jamie/aus utc bug #4030

merged 8 commits into from
Jul 13, 2020

Conversation

SEAjamieD
Copy link
Contributor

@SEAjamieD SEAjamieD commented Jul 2, 2020

🔩 Description: What code changed, and why?

The date picker on compliance reports page is displaying the previous date to customers in Australia time zone (and possibly others). We would like the date picker to always display in UTC.

⛓️ Related Resources

Addresses: #4015
Need to be careful that this does not undo all of work in #1624

👍 Definition of Done

The Date picker is always displaying UTC time.

👟 How to Build and Test the Change

build components/automate-ui-devproxy && start_all_services
make serve

navigate to https://a2-dev.test/compliance/reports/overview
By default, the date should match up with the current UTC Date
Select a date in the future

  • the url parameters should match the selected date.
  • the date selector should display the date that was clicked on.
  • the reports should display from the date that was clicked on.
    Repeat this flow several times for several different dates.

Change your timezone to locations in Japan, Australia, US, Europe, Russia, etc.
Repeat steps from above in each location.

** to change your timezone in chrome dev tools click on the three dot menu in devtools > more tools > sensors

✅ Checklist

📷 Screenshots, if applicable

@SEAjamieD SEAjamieD added ui automate-ui HIGH PRIORITY This issue has been prioritized. customer-reported issues reported by customers labels Jul 2, 2020
@SEAjamieD SEAjamieD self-assigned this Jul 2, 2020
@SEAjamieD
Copy link
Contributor Author

@susanev - This branch still needs updated tests - but I'm ok with testing it in the wild as long as we can get tests done before its actually released.

@SEAjamieD SEAjamieD marked this pull request as ready for review July 8, 2020 01:24
@SEAjamieD SEAjamieD requested review from susanev, msorens and a team July 8, 2020 01:25
seajamied added 7 commits July 8, 2020 13:34
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
Signed-off-by: seajamied <jdegnan@chef.io>
… and until it can be figured out, its holding up testing in acceptance. This is currently alwasy returning todays date in the test only

Signed-off-by: seajamied <jdegnan@chef.io>
@SEAjamieD SEAjamieD merged commit 2079bd2 into master Jul 13, 2020
@chef-expeditor chef-expeditor bot deleted the jamie/aus-utc-bug branch July 13, 2020 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automate-ui customer-reported issues reported by customers HIGH PRIORITY This issue has been prioritized. ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants