Closed dadatuputi closed 3 years ago
Which versions do you use? Habit bull / Loop Habit Tracker?
HabitBull 1.5.15.
Thanks! If you have a minimal CSV example that fails to be imported that could also speed up the debugging.
Here you go: HabitBullData.zip
Thanks!
The problem seems to be the date format. In your CSV, it seems to be $month/$day/$year/
instead. Loop Habit Tracker expects $year-$month-$day
, and thus fails when it tries to parse the year.
If you switch these manually you should be able to import your habits.
The values -2.15E+09
are also weird, but the code seems to just ignore these values so that should be fine.
@dadatuputi Thank you for the bug report and for the sample CSV file. They are very helpful.
@hiqua Nice debugging. It looks like they are now generating CSV files according to the user locale. Perhaps we should try both formats (YYYY-MM-DD
and current locale).
Fixed in b58af03a7ce86fd68d497e96ba37ac1d099cfe26. The fix will become available in Loop 2.0.
Pre-submission checklist
Description
Importing a newly exported habit bull csv fails
Steps to reproduce
System information