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

A timeZone configured scheduler should recognize time zone information from string date values #8516

Open
JockeLindberg opened this issue Feb 9, 2024 · 0 comments
Labels
enhancement Functionality improvement forum Issues from forum large-account Reported by large customer OEM OEM customer

Comments

@JockeLindberg
Copy link

For example, setting startDate to '2024-02-09T10:00:00Z' will today, on a Scheduler configured with timeZone=0 (UTC) on a client with time zone +60 will result in startDate = '2024-02-09T11:00:00'. It should be 2024-02-09T10:00:00.

Reason for the current behaviour is that there is no time zone logic applied when setting a string date, just simple parsing into the local time zone.

Will probably need to override the setters for start- and enddates and apply some logic.

Forum post

@JockeLindberg JockeLindberg added forum Issues from forum large-account Reported by large customer OEM OEM customer enhancement Functionality improvement labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Functionality improvement forum Issues from forum large-account Reported by large customer OEM OEM customer
Projects
None yet
Development

No branches or pull requests

1 participant