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

bench: use site timezone for broadcast, don't expect offset decimal #171

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

trekhopton
Copy link
Collaborator

This was done because the javascript was being used that interpreted the UTC offset string as a decimal, which caused the time to be off by an 30 minutes. This change should fix that.
The site's timezone can be used to keep things consistent and avoid error from user input.

This was done because the javascript was erroneously interpreting the UTC offset string as a decimal, which caused the time to be off by an 30 minutes. This change should fix that.
The site's timezone can be used to keep things consistent and avoid error from user input.
@saxon-milton
Copy link
Member

saxon-milton commented Jun 26, 2024

In future, would recommend using a rebase on to master if you need to get up to date as opposed to a merge.

Copy link
Member

@saxon-milton saxon-milton left a comment

Choose a reason for hiding this comment

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

Good; I think we've been dealing with timezone issues for a long time 😆

@ao-david
Copy link
Collaborator

Changes look good, but I wonder whether it even makes sense for the timezone to be changeable? Should we just use the site timezone and make it clear to the user that all times are based on the site timezone? I can't imagine many cases where a user would want to schedule a broadcast in a different location based on the timezone of their current location (mainly due to daylight hours etc...

At very least maybe this should also be an advanced feature that gets hidden behind the advanced checkbox?

@scruzin
Copy link
Collaborator

scruzin commented Jun 27, 2024 via email

@trekhopton trekhopton merged commit 771401d into master Jun 27, 2024
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.

4 participants