diox / la-playa

Some stats collected from our babolat play rackets.
http://diox.github.io/la-playa/
3 stars 1 forks source link

Date clamping system doesn't work that well #2

Closed diox closed 9 years ago

diox commented 9 years ago

Today's match is split into 2 different sessions because the start dates are too far from one another:

Rik's: "start_at": "2015-06-16 09:40:25" Mine: "start_at": "2015-06-16 09:30:18"

The clamping function divides the minutes by 15, rounds the result, then multiply it by 15 again. We need something better.