GreenScheduler / cats

CATS: the Climate-Aware Task Scheduler :cat2: :tiger2: :leopard:
https://greenscheduler.github.io/cats/
MIT License
47 stars 7 forks source link

Make sure we respect local system time #61

Closed andreww closed 11 months ago

andreww commented 11 months ago

This (draft) pull request makes sure we keep track of any differences in timezone between system time (e.g. used for at) and the time zone returned by our datasource. To do this, we need to:

With a little luck, the actual calculation will 'just work'. We should check this.

This addresses #21

andreww commented 11 months ago

I think this has everything we need to run correctly on systems where the system time is not UTC but the forecast data is.