-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
[16.0][FIX][base_tier_validation] fix validation date timezone #810
Conversation
Hi @LoisRForgeFlow, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Thanks for contributing. I have a couple of questions/requests:
- Could you provide a step by step guide to reproduce the issue you are trying to fix?
- Also the original line you are changing is a bit weird
requested_date_utc = (...utc stuff...)review.reviewed_date)
I don't see how the requested date could be filled with the validation date, thoughts?
Hi, These are the steps to reproduce the issue
You are absolutely right on the variables used though. The field in question here is the datetime when the tier review has happened (field name: reviewed_date)
Do you think that makes better sense? |
@evanomnisoft Thanks for the details, I could confirm now the issue 👍 Regarding the names of the variables, yes, I would appreciate if you can do the rename. It will make the code easier to understand. |
Variables were inconsistently named leading to confusion when understanding the code.
@LoisRForgeFlow Done. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
@evanomnisoft could you port this to 17.0? |
Congratulations, your PR was merged at a97bd6b. Thanks a lot for contributing to OCA. ❤️ |
Validation Date for tier reviews shows in UTC instead of user timezone.
requested_date_utc should be localized to UTC instead of user timezone