When parsing image datetime stamps from filenames, use strftime with ISO 8601 string instead of the more guessy pandas.to_datetime. This puts a clear, strict and very specific requirement on the filename timestamp formatting, and avoids issues with auto-accepting (potentially incorrect) datetime string variants.
When parsing image datetime stamps from filenames, use strftime with ISO 8601 string instead of the more guessy pandas.to_datetime. This puts a clear, strict and very specific requirement on the filename timestamp formatting, and avoids issues with auto-accepting (potentially incorrect) datetime string variants.