-
Notifications
You must be signed in to change notification settings - Fork 58
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
Transport Permit - Tax certificate expiry date #20934
Comments
@chdivyareddy the date bug is related to timezones. The Tax Certificate Exp Date that is selected and the date that is shown in Review page (in Pacific Timezone) could be different. This is because we capture the date as plain text eg I can remove the timezone and display the date as entered. I wanted to verify what would be displayed in Outputs (to make sure we all show the same date), but there are no Tax Cert Exp Date in the outputs. Just want to make that we want to remove Pacific timezone conversion here? Because we use this function in many places already. cc: @arlentees |
@dimak1 I'd be cautious around changing the display if the component is used in many places. Do we only capture the date as year-month-day with no time |
@arlentees yea i'm trying to be cautious, especially around dates, hence calling it out. For this date, we only asking for a date (no time). |
I checked the Pacific time conversion for other dates in the app. For example, Transport Permit Date of Expiry for MHR 108329 is June 15, 2024 (2024-06-15T06:59:59+00:00). Pacific time is 7 or 8 hours behind the UTC time (depending on daylight saving time), so when subtracted from provided time it becomes 2024-06-14T23:59:59-07:00, which is June 14, 2024. |
Discussed at the stand-up today to keep Pacific time conversion function as is, and do not use it for the original issue of the ticket (Tax Certificate date), just show the date as it was selected by the user. |
MHR info screen:
Review & Confirm:
The text was updated successfully, but these errors were encountered: