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

"Next CP" is incorrect for timezones with half hour time offsets. #798

Open
ryantheleach opened this issue Jan 27, 2025 · 1 comment
Open

Comments

@ryantheleach
Copy link

Image

In the "Region Scores" pane, the Next CP time is listed as being 'on the hour' in half hour timezones.

It should be half hour later, at 15:30 (in this screenshot).

@ryantheleach
Copy link
Author

😔

function formatHours(time) {
return ('0' + time.getHours()).slice(-2) + ':00';
}

🎉

var checkpointEnd = checkpointStart + scoreCycleTimes.CHECKPOINT;

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

1 participant