mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Improve BodyMeasures - CSV Import
... allow "date" in ISO8601 as an alternative to "ts" timestamp from Epoch ... update documentation / provide sample files
This commit is contained in:
4
test/bodymeasures/bodymeasures-format-example-date.csv
Normal file
4
test/bodymeasures/bodymeasures-format-example-date.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
date,weightkg,fatkg,boneskg,musclekg,leankg,fatpercent,comment
|
||||
2017-01-01T12:00:00Z,2,3,4,5,6,7,Useless data - but valid format
|
||||
2017-01-02T12:00:00Z,80.15,12.10,5.4,0,32.5,11.57,Test Value
|
||||
2017-01-03T12:00:00Z,81.15,12.10,5.4,0,32.5,12.57,"Here the comment text contain commas itself, so it needs quotes"
|
||||
|
4
test/bodymeasures/bodymeasures-format-example-ts.csv
Normal file
4
test/bodymeasures/bodymeasures-format-example-ts.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
ts,weightkg,fatkg,boneskg,musclekg,leankg,fatpercent,comment
|
||||
1,2,3,4,5,6,7,Is a technically valid entry but the timestamp is 1 second of Epoch so it will never be in the possible time range
|
||||
1479632565,80.15,12.10,5.4,0,32.5,11.57,Test Value
|
||||
1479632865,81.15,12.10,5.4,0,32.5,12.57,"Here the comment text contain commas itself, so it needs quotes"
|
||||
|
Reference in New Issue
Block a user