tcgoetz / GarminDB

Download and parse data from Garmin Connect or a Garmin watch, FitBit CSV, and MS Health CSV files into and analyze data in Sqlite serverless databases with Jupyter notebooks.
GNU General Public License v2.0
1.1k stars 138 forks source link

Don't fail on undefined elapsed_time #179

Closed schroeer closed 1 year ago

schroeer commented 1 year ago

Parsing activity_\d*.json files currently fails when elapsed_time is null. This is the case for activities from before Dec 2016. See #131.

This untested change is supposed to remedy this problem.

schroeer commented 1 year ago

I have tested the change now. It works as intended.