Downtime fixes

Fixes timezone issue with downtimes, adds a spec.