Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ignore local timezones when creating a heatmap (#377)
* [Heatmap] Adjusting grid calculation for consistent grid layout Date math is hard! This addresses a problem in how the heatmap lays calculates days to layout the grid. The calculations were being thrown off in some scenarios by a combination of factors including timezone offsets, time of day, and daylight savings time. This patch should correct all this by forcing each day to be midnight UTC when laying out the grid. Co-authored-by: Michael Bester <michael@kimili.com> Co-authored-by: t47io <t47@alumni.stanford.edu> Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
- Loading branch information