Bug 189998 - EXIF date information incorrect use of AM/PM
Summary: EXIF date information incorrect use of AM/PM
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-TimeAdjust (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 21:18 UTC by Rudolf Meijering
Modified: 2018-09-22 08:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rudolf Meijering 2009-04-18 21:18:12 UTC
Version:           0.10.0 (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-14-generic

EXIF DateTime shows:       2009:04:11 00:26:04
Edit EXIF Metadata shows:  2009:04:11 12:26 AM
Adjust date and time:      2009/04/11 12:26 PM

It might only be a problem for images that are taken around noon/midnight but nonetheless digikam should decide on one way to present the time, is it AM or PM?
Comment 1 caulier.gilles 2009-04-18 22:03:40 UTC
These informations are given by Exiv2 library. Which version of this library you use ? Go to Help/Components Info menu in digiKam for details.

Which camera you use ? RAW or JPEG ?

Can you provide a file sample to test ?

Try with ExifTool to see which date are reported.

Gilles Caulier
Comment 2 Rudolf Meijering 2009-04-18 22:20:05 UTC
This is an excerpt of exiftool on the file... the camera uses JPEG.  I'll upload an image to test on. 

Make                            : SONY
Camera Model Name               : DSC-P200
Thumbnail Offset                : 2500
Thumbnail Length                : 14841
Date/Time Original              : 2009:04:11 12:26:04
Date/Time Modified              : 2009:04:11 12:26:04
Create Date                     : 2009:04:11 12:26:04
Metadata Date                   : 2009:04:11 12:26:04
Modify Date                     : 2009:04:11 12:26:04
Date Created                    : 2009:04:11
Time Created                    : 12:26:04+00:00
Image Width                     : 2048
Image Height                    : 3072
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:0 (1 2)
Aperture                        : 2.8
Date/Time Created               : 2009:04:11 12:26:04+00:00
Comment 3 Marcel Wiesweg 2009-04-19 15:03:40 UTC
Which is correct? The last is a 24h format, so it is really 12:26, 12:26PM, 26 minutes past noon?
Comment 4 Rudolf Meijering 2009-04-19 17:21:48 UTC
Sorry I changed the DateTime of that file before running exif tool.  Here is exiftool on a file in the same series.

Date/Time Original              : 2009:04:11 00:27:53
Create Date                     : 2009:04:11 00:27:53

This is 12:27 am
Comment 5 caulier.gilles 2009-07-20 12:04:43 UTC
Can you upload a test image to test here ?

Gilles Caulier
Comment 6 Marcel Wiesweg 2009-07-20 18:34:38 UTC
I set country+language to US and tested with main icon view and the two kipi plugins with an image that was taken 20 minutes after midnight.
The main icon view showed 12:20 AM. The Adjust Date + Time and the Metadata -> Edit Exif plugins both use a 24h format for me ("00:20").
From your first comment it seems that only Adjust Date and Time is wrong?
It's still not clear for me which place exactly is the problem.
Comment 7 caulier.gilles 2011-12-17 09:22:03 UTC
Rudolf,

Do you see comment #6 from Marcel ?

Gilles Caulier
Comment 8 Rudolf Meijering 2012-02-17 08:44:55 UTC
Hi Gilles,

Sorry about being so unresponsive.

The problem lies with 'Adjust date and time' showing PM which should be AM (00:26). I will try to reproduce the problem if possible.
Comment 9 Smit Mehta 2012-04-19 18:03:24 UTC
Hi Gilles

I dont think this is valid anymore, since the older time is no more shown in timeadjust. Shall i close the bug?

Smit