-
Notifications
You must be signed in to change notification settings - Fork 176
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
Dated Athlete Settings effective date changes without explanation #705
Comments
@dlh3 I can't reproduce your problem :/ Pb still there? |
@thomaschampagne Here's a screen recording to demonstrate the reported behaviour. First I type a date (11/19/2018) into the "Athlete settings since" field, then when I click out, the value moves to the previous day (11/18/2018). Next I use the date picker to select a date (11/21/2018), but when the date picker closes, the "Athlete settings since" field is the previous day (11/20/2018).
Once again, I am guessing this is the intended behaviour. If so, that is fine, but I think adding an explanation note to the field could reduce confusion so other people don't think it is a bug (as I did). |
@thomaschampagne thanks to @cwparsons, I think I know why you couldn't reproduce this! Timezone difference. I just tested this and confirmed that the date would consistently change when my system is set to UTC-8, but the behaviour stops when I set my system to UTC+1. It seems that the date field and picker function correctly from UTC and ahead (east), but this date shifting behaviour occurs for any timezones behind (west of) UTC. |
Looks like this is an OOTB issue with Angular-Material, see angular/components#7167. One user contributed a custom solution: angular/components#7167 (comment) But the MatMomentDateModule may be the best solution: angular/components#7167 (comment) |
Add MomentDateAdapter to solve shifting dates issue; fixes #705
Add MomentDateAdapter to solve shifting dates issue; fixes thomaschampagne#705
Step 1: Are you in the right place?
Yes.
Step 2: Describe your environment
Step 3: Describe the problem:
Steps to reproduce:
Actual Behavior:
Expected Behaviour:
Media attachment:
None.
Providing your Elevate synced athlete activities can be useful to solve the problem
Not related to specific activities.
The text was updated successfully, but these errors were encountered: