GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Add optional UTC offset to `/submission/heatmap` and `/submission/rate` endpoints #301

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

The /submission/heatmap and /submission/rate endpoints should have an optional query parameter to specify the UTC offset. This could be provided by an integer number specifying the offset in seconds. It should default to 0.

This would allow us to implement features like GrafeasGroup/buttercup#145 efficiently.