Skip to content
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

SCJ-249: Fix bookingTime string, remove ticks variables #219

Merged

Conversation

duncan-oxd
Copy link
Collaborator

Removed the "js ticks" logic when converting selected dates for non-trial conference bookings. SelectedConferenceDate was already stored as a string, so I just replaced it with an ISO date string and parsed that instead.

This fixes SelectedConferenceDate being off by 7 hours as it was still being treated as UTC in the ticks conversion.

I don't know what the "containerId" stuff is doing - maybe we can remove that some day too?

@duncan-oxd duncan-oxd requested a review from molund July 23, 2024 23:57
@duncan-oxd duncan-oxd self-assigned this Jul 23, 2024
Copy link
Collaborator

@molund molund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed that the correct date is being sent in the API request to BookingHearingAsync()

@duncan-oxd duncan-oxd merged commit 308a741 into develop Jul 25, 2024
3 checks passed
@duncan-oxd duncan-oxd deleted the feature/SCJ-249-incorrect-dates-on-non-trial-boo branch July 25, 2024 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants