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

calendar off-by-one error #640

Open
intrepidlemon opened this issue Jan 28, 2024 · 3 comments
Open

calendar off-by-one error #640

intrepidlemon opened this issue Jan 28, 2024 · 3 comments

Comments

@intrepidlemon
Copy link

image
The calendar page seems to display conferences one day offset from their actual dates. This behavior is the same for conferences regardless of timezone.

@intrepidlemon
Copy link
Author

if it helps, I'm in the America/New_York timezone. I don't expect that I should be a day off from Vancouver Canada.

@andrewkuanop
Copy link
Collaborator

Hi thanks for reporting this, it does seem to be a timezone issue as it shows correctly in London timezone. I'll look into this. Cheers!

@intrepidlemon
Copy link
Author

thank you, really appreciate it. I tried looking into it a bit:

Seems like this is where the start and end dates get parsed:

startDate: Date.parse("{{conf.start}}"),

Might be due to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings ?

I'm not entirely sure where timezones get mixed up in this loop though.

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

No branches or pull requests

2 participants