progweb / gpx2video

Creating video with telemetry overlay from GPX data
GNU General Public License v3.0
186 stars 10 forks source link

[BUG] --start-time not recognized #32

Closed mitgolden76 closed 6 months ago

mitgolden76 commented 8 months ago

Describe the bug When specifying the --start-time option, the following is returned: ./gpx2video: unrecognized option '--start-time' To Reproduce Steps to reproduce the behavior: Specify a --start-time value

Expected behavior It runs, setting the creation_time to the specified time.

Additional context It appears that start-time is missing from the options[] in the main file. I added the entry and rebuilt, which yielded the following at runtime:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted (core dumped)

Then I ran again using --start-time=yyyy-mm-ddT00:00:00Z format instead of --start-time "yyyy-mm-ddT00:00:00Z" That was successful.

progweb commented 6 months ago

Fixed, thank's for report the issue.