vergilcw / sporttracks-csv-import

Automatically exported from code.google.com/p/sporttracks-csv-import
0 stars 0 forks source link

Importing multiple activities from one file does not work #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Try importing a file like:

"date";"time";"category";"duration";"distance";"hrm";"maxheartrate"
31.12.2010;16:00:00;"Laufen";00:45:29;8;127;0
30.12.2010;09:30:00;"Skitour/Bergsteigen";06:00:00;"18,5";130;0
29.12.2010;08:00:00;"Laufen";01:20:18;"13,5";129;0
29.12.2010;18:00:00;"Krafttraining";00:40:00;0;0;0
28.12.2010;17:00:00;"Laufen";00:59:44;12;145;158

It is imported as one single activity.

Problem: As a side effect from the bugfix for issue 4, the importer assumes 
that the time column contains a valid date - but it does not. As a result the 
importer assigns all lines to the same, wrong date.

Original issue reported on code.google.com by wolfgang...@googlemail.com on 23 Feb 2011 at 9:05

GoogleCodeExporter commented 9 years ago
Fixed detection of valid date in "time" values. Use date from "time" column 
only if datetime or date is not given.

Original comment by wolfgang...@googlemail.com on 23 Feb 2011 at 9:07