-
Notifications
You must be signed in to change notification settings - Fork 733
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
Profile edit page shows incorrect label for birth year #11292
Comments
@haldaranup can you provide steps on how to reproduce this? |
Sure @thesujai, Actually I found this on my local. |
Adding a clarification note - by Good catch, @haldaranup. Thanks for reporting. |
@MisRob can I work on this issue? (might need some guidance🙂) |
Hi @haldaranup - yes, thank you for your interest. We will assign you to this issue. Let us know if you have questions. |
@marcellamaki I have observed that the prototype Observations:
Based on the above observations I tried to pass the full year to |
Hi @haldaranup, thanks for looking into it.
I would recommend to do this for now.
I think that |
The string passed gets coerced to a Date object using
So, when localized in any timezone that is less than UTC, this date will be shown as 2022, instead of 2023. So, what we are seeing is not a bug in vue-intl The fix here is probably to render |
Oh dear. Thanks @rtibbles. The solution suggested makes sense to me. @haldaranup if you could mention briefly in a comment when setting |
Observed behavior
When we try to edit birth year on our edit profile page the value and label gets mismatched due to which birth year value shows incorrect on our profile page
…
Expected behavior
The birth year we select from drop-down, exact value should show, but it shows value with 1 incremented to it
…
Steps to reproduce
...
The text was updated successfully, but these errors were encountered: