fix(settings): display birthday correctly regardless of browsers timezone#61586
Conversation
9370ac9 to
08e0100
Compare
|
/backport to stable34 |
|
/backport to stable33 |
|
/backport to stable32 |
08e0100 to
6cdae3c
Compare
6cdae3c to
48c4621
Compare
susnux
left a comment
There was a problem hiding this comment.
maybe this should be a shared composable in nc-vue
`savePrimaryAccountProperty` does only allow `string | boolean`. Incidentally, relying on `@nextcloud/axios` default serialization, `Date`s where serialized using `toISOString`. See https://github.com/axios/axios/blob/a7d7a714498452e611943d9d8e5c2ed8b00aa6b9/lib/helpers/toFormData.js#L134 This change corrects the usage of `savePrimaryAccountProperty` and makes serialization explicit. Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
…zone This also avoid shifting dates after user input. Resolves #49828 Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
48c4621 to
33ac293
Compare
Don't know if this is a common enough issue. |
|
/backport to stable34 |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Summary
Display birthday correctly regardless of browsers timezone.
Before
Screen.Recording.2026-06-25.at.09.48.23.mov
After
Screen.Recording.2026-06-25.at.09.50.04.mov
Checklist
3. to review, feature component)stable32)