Closed Pontusfroding closed 4 years ago
It seems that in the dates in the command above you have Unicode Dashes –
instead of normal dashes -
Try to copy/paste this command
python3 location_history_json_converter.py "Location History.json" vacation.gpx -f gpxtracks -s 2017-01-12 -e 2017-01-29 -a 500
Thanks for the really fast reply. And you are so correct it works now.
Now I just have to figure out how to type normal dashes ... Will have to copy in the meantime.
When I try to specify start and end date with -s and -e it doesn't work.
python3 location_history_json_converter.py "Location History.json" vacation.gpx -f gpxtracks -s 2017–01–12 -e 2017–01–29 -a 500
location_history_json_converter.py: error: argument -s/--startdate: Not a valid date: '2017–01–12'.
I'm using Python 3.8, if it matters? Am I perhaps missing something?