Bug 203047 - Edit Exif does not allow editing of seconds
Summary: Edit Exif does not allow editing of seconds
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MetadataEdit (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-08 08:24 UTC by Michael G. Hansen
Modified: 2016-07-19 05:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0
Sentry Crash Report:


Attachments
Comparison of date/time selection widgets (17.80 KB, image/png)
2009-08-20 15:37 UTC, Michael G. Hansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael G. Hansen 2009-08-08 08:24:24 UTC
Version:           0.5 (using KDE 4.3.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

The "Edif Exif" part of Metadataedit does not allow me to change the seconds part of the timestamp. Could you please make it possible to edit these as well?

The "Adjust Time" plugin also does not display seconds.

I am using the locale en_US.utf-8
Comment 1 Michael G. Hansen 2009-08-20 15:36:38 UTC
I had a look at the Date & Time settings under KDE systemsettings and they are set to HH:MM:SS. When I insert the KDateTimeWidget in Qt Designer, it also shows the time as HH:MM AM/PM, so this is not a kipi-plugins issue. Rather, this widget seems to follow the settings of the locale and not the settings given in the KDE systemsettings. Launching digikam with LANG=de_DE@UTF-8 shows the time in 24h-form but still without seconds. Hacking the locale definition makes it possible to get it to show HH:MM:SS.

One possible solution is to use the QDateEdit and QTimeEdit instead, because it has the option of changing the time format to include seconds. See attached screenshot. I could not find any option to change the format for a KDateTimeWidget. Otherwise, one would have to change KDateTimeWidget, but that would take time...
Comment 2 Michael G. Hansen 2009-08-20 15:37:21 UTC
Created attachment 36298 [details]
Comparison of date/time selection widgets
Comment 3 caulier.gilles 2011-04-05 10:15:23 UTC
Sub second editor is supported since a long time in metadataedit plugin, for created, original, and digitalized Exif time stamp.

Gilles Caulier
Comment 4 caulier.gilles 2011-04-05 10:16:44 UTC
Git commit 28de4aaa9cebb55ec5e04ec52a7484c2b5219445 by Gilles Caulier.
Committed on 05/04/2011 at 10:20.
Pushed by cgilles into branch 'master'.

sub second informations must be wrapped around 0-59 seconds.
use more private internal container
polish implementation
BUGS: 203047

M  +30   -30   metadataedit/exif/exifdatetime.cpp     
M  +2    -3    metadataedit/exif/exifdatetime.h     

http://commits.kde.org/kipi-plugins/28de4aaa9cebb55ec5e04ec52a7484c2b5219445