boomerang-io / community

The Boomerang community, roadmap, planning, and architecture repository. The central place for information on joining, contributing, and governance.
https://useboomerang.io
Apache License 2.0
11 stars 0 forks source link

Fix RunScheduledWorkflow not saving dateTime in UTC #319

Closed tlawrie closed 2 years ago

tlawrie commented 2 years ago

The Run Scheduled Workflow system task is not saving Date Time in UTC time. Instead it is setting the time provided by the User on a zonedDateTime and saving it.

This means that later on when the timezone is supplied it will add more offset.

For example, if 2am is set on an Australia/Melbourned zoneDateTime, and this is saved as UTC, when it comes time to scheduling it will tread it as 1pm Australia/Melbourne with UTC+11

tlawrie commented 2 years ago

Solved in fix-runscheduledworkflowtimesaving

tlawrie commented 2 years ago

PR https://github.com/boomerang-io/flow.service.workflow/pull/144

tlawrie commented 2 years ago

Verifed in Flowabl dev environment