tracker icon indicating copy to clipboard operation
tracker copied to clipboard

worker scripts: full support for timezones

Open a-tze opened this issue 9 years ago • 1 comments

Issue migrated from trac ticket # 132

component: unknown | priority: minor | keywords: timezone

2016-08-04 19:34:20: @a-tze created the issue


The worker scripts A & B rely on several deprecated ticket properties (Fahrplan.Date, Fahrplan.Start). They should be enhanced so that they use Fahrplan.Datetime and fully understand the timezone information. It might be neccessary to also add some mechanism to map worker-timezone onto something different, e.g. when recorder and storage are in different timezones.

A possible alternative, making the API timezone aware, seems more complicated and less desirable.

a-tze avatar Aug 04 '16 19:08 a-tze

2016-08-12 00:06:20: @jjeising commented


I think all scripts should support full ISO 8601 dates with timezone. The API should do any timezone conversion for the client. We could provide UTC only, but this would also require script changes.

a-tze avatar Aug 12 '16 00:08 a-tze