Summary: | Edit Exif does not allow editing of seconds | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michael G. Hansen <mike> |
Component: | Plugin-Generic-MetadataEdit | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.0.0 | |
Attachments: | Comparison of date/time selection widgets |
Description
Michael G. Hansen
2009-08-08 08:24:24 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... Created attachment 36298 [details]
Comparison of date/time selection widgets
Sub second editor is supported since a long time in metadataedit plugin, for created, original, and digitalized Exif time stamp. Gilles Caulier 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 |