oozcitak / exiflibrary

A .Net Standard library for editing Exif metadata
MIT License
134 stars 48 forks source link

Error in procedure ExifBitConverter.ToDateTime #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take a picture with iPaq 910i
2. Try load the image with the program example(Exif Test)
3. Crash the procedure ToDateTime in ExifBitConverter. The cast is invalid

This problem occurs if date or time has one only digit.

I expected the string date converted to DAteTime

I'm using Visual Studio 2008 on Windows XP SP3 with Comact Framewor 3.5 with 
SP1.

I supose that you can use "yyyy:M:dd HH:m:s" like format. I probed and it works.

Please provide any additional information below.

Original issue reported on code.google.com by edgarmol...@gmail.com on 2 Jul 2010 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r56.

Original comment by oozcitak on 3 Aug 2010 at 12:02