Module Exif.DateTime
val to_string : t -> string
val of_string : string -> [> `Error of string | `Ok of t ]
val of_string_packed_unix_time : string -> [> `Error of string | `Ok of t ]
I had an old Android phone which created DateTime tag with a little endian encoded unsigned int32 of unix time, which seems not following the spec of EXIF.
This function tries to fix the issue.