Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import of CSV files lead to incorrect dates. #74

Closed
WO15 opened this issue Jul 2, 2019 · 4 comments
Closed

Import of CSV files lead to incorrect dates. #74

WO15 opened this issue Jul 2, 2019 · 4 comments
Labels
Milestone

Comments

@WO15
Copy link

WO15 commented Jul 2, 2019

Found in version: 0.18 downloaded from F-droid.

Current behavior: exported records, reset application, created new profile, import records. Exercises are visible but dates are shifted, exercises done one july 2 are now listed as done on july 1. When I check the csv files they seem to be correct.

Expected behavior: after import I would expect the correct dates to be shown.

Step to reproduce: see above.

@WO15
Copy link
Author

WO15 commented Jul 2, 2019

Did review the issue in more detail, seems not to be a default shift in dates, but due to fact that 1 did have exercises on June 30, and july 2, but NOT on July 1. The exercises of July 2 (date on which I made the export and import). Are shifted (shown in app) to July 1.

@brodeurlv
Copy link
Owner

Do you have the CSV file you used to reproduce the issue? Thanks.

@WO15
Copy link
Author

WO15 commented Jul 4, 2019

EF_xx_Cardio_2019_07_02_13_22_28.csv
table,id,date,time,machine,duration,distance,profil_id
EFfontes,45,2019-07-02,,rowing,0,0.5,2
EFfontes,39,2019-07-01,,rowing,0,0.5,2
EFfontes,27,2019-06-28,,rowing,0,2.0,2
EFfontes,16,2019-06-25,,rowing,0,0.5,2
EFfontes,5,2019-06-22,,rowing,0,1.5,2
EFfontes,4,2019-06-22,,rowing,0,0.5,2
EFfontes,3,2019-06-21,,rowing,0,0.5,2

@WO15
Copy link
Author

WO15 commented Jul 4, 2019

EF_xx_Exercises_2019_07_02_13_22_28.csv
table,id,name,description,type,bodyparts,favorites
EFmachines,4,biceps,,0,,false
EFmachines,6,crunch,,0,,false
EFmachines,5,lateral raise deltoids,,0,,false
EFmachines,9,plank,,2,,false
EFmachines,7,push-up,,0,,false
EFmachines,3,rowing,,1,,false
EFmachines,8,side crunch,,0,,false
EFmachines,10,sit-up,,0,,false
EFmachines,2,triceps,,0,,false

@brodeurlv brodeurlv added this to the 0.18.2 milestone Jul 7, 2019
@brodeurlv brodeurlv added the bug label Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants