etoumey / tripy

Python TRIMP calculator and training companion for running.
3 stars 0 forks source link

Time continuity through day rollover #17

Closed etoumey closed 5 years ago

etoumey commented 5 years ago

As I discovered today (4/9), if an activity spans the UT day roll over, the time history plot will be messed up. This should be patched in the parsing function.

The best idea i have off the top of my head is take the absolute value and mod over 86400 seconds. That should do the trick and preserve the possibility of handling non-regular time steps

etoumey commented 5 years ago

image

etoumey commented 5 years ago

easy hotfix pushed out. Just never keep an activity going for more than 2 days.