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

fix tooltip displaying date 1 day before of observation date provided #120

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

gdfreitas
Copy link
Contributor

@gdfreitas gdfreitas commented Oct 25, 2024

Fix

Changes parsing of observation date to prevent tooltips to display wrong date. It was displaying 1 day before the observation date provided.

image

Notes

The new Date constructor was implicit considering user's timezone when building the date, which is not necessary for this particular use case.

@gdfreitas gdfreitas force-pushed the fix/tooltip-date-formatting branch from 22f2e31 to 677530c Compare October 25, 2024 19:46
@gdfreitas gdfreitas marked this pull request as ready for review October 25, 2024 19:48
@eatyourpeas eatyourpeas merged commit e27fd71 into rcpch:live Oct 25, 2024
1 check passed
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