HomePhabricator

Make scheduler timezone-aware

Description

Make scheduler timezone-aware

Summary:

  • Use pendulum datetimes, which have much better timezone and DST handling.
  • Associate a timezone string with the scheduler, do the cron math using that timezone (and then convert back to UTC for the ticks)

Test Plan: Existing BK tests cover a scheduler in UTC. Next diff will add coverage for non-UTC timezones and daylight savings time

Reviewers: sashank, alangenfeld, max

Reviewed By: sashank

Differential Revision: https://dagster.phacility.com/D4671

Details

Provenance
dgibsonAuthored on Mon, Oct 5, 2:28 PM
Reviewer
sashank
Differential Revision
D4671: Make scheduler timezone-aware
Parents
R1:9b9c78e332f9: [Docs] 0.9.15
Branches
Unknown
Tags
Unknown