Closed ScottChapman closed 5 years ago
hmmmm. Are you sure ? Some example? If I use the unit to Celcius it works.
Right, if you look at your code (https://github.com/jimmykane/fit-parser/blob/master/src/fit.js#L24) your multiplier for fahrenheit is 1
and no conversion for Celsius...
var fitParser = new FitParser({
force: true,
speedUnit: 'mph',
lengthUnit: 'mi',
temperatureUnit: 'fahrenheit',
elapsedRecordField: true,
mode: 'cascade',
});
results in showing my average temp (for a June ride here in MA) a brisk 17
Yes you are right indeed. :-)
v1.6.8 contains the commit 6eacf809d546cd9e05c7381b1c8226da43b67e1a that should fix this.
Would be great if you can validate this
works great!
I think the fit file format has the temp in celsius. So the calculation to Fahrenheit is not correct...