mirror of
https://github.com/home-assistant/frontend.git
synced 2026-05-17 21:50:19 +01:00
13e32c41e0
* Don't round bar chart end time for hourly periods If we do this, it causes the last hour of the energy dashboard bar charts to be cut off. This went unnoticed previously because they were placed at times of xx:00, while now they are times of xx:30. * Round to 30minute for hourly bars rather than leaving unrounded This better matches the axes with line charts by cutting off padding into the next day, whilst leaving mid-point bars visible. * Update tests to account for new behaviour