Bug 296579

Summary: Adjust Date & Time: Wrong date format shown
Product: [Applications] digikam Reporter: Dotan Cohen <kde-2011.08>
Component: Plugin-Generic-TimeAdjustAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, kde-2011.08, smit.meh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:
Attachments: System Settings Locale configuration screen
Patch for bug 296579

Description Dotan Cohen 2012-03-22 20:25:59 UTC
This is my short date format:
YYYY-MM-DD

This is my long date format:
WEEKDAY DD MONTH YYYY

This is the date format shown in the Example section of the Adjust Date & Time dialogue:
dd.mm.yyyy

Please change this dialogue to show the short date format. Thank you.
Comment 1 Smit Mehta 2012-03-22 22:46:36 UTC
Hi Dotan

I am sorry, i dont quite understand. The "short" and "long" date formats, have you stored them somewhere inside digikam? How the date format in the "example" part of the dialog is a bug?

Smit
Comment 2 Dotan Cohen 2012-03-24 15:02:51 UTC
The short and long date formats are set in KDE System Settings -> Locale.
Comment 3 caulier.gilles 2012-03-24 15:06:41 UTC
Dotan,

Can you provide a screenshot of the problem in tool and the KDE settings dialog.

Just to be sure...

Thanks in advance

Gilles Caulier
Comment 4 Dotan Cohen 2012-03-24 17:13:10 UTC
Created attachment 69856 [details]
System Settings Locale configuration screen

Thank you Smit and Gilles. Here is a screenshot of the System Settings locale configuration.
Comment 5 Smit Mehta 2012-03-24 18:57:46 UTC
Created attachment 69862 [details]
Patch for bug 296579

Hi Gilles

Kindly go through this patch. I think it should do the job.

Thanks in advance.
Smit
Comment 6 caulier.gilles 2012-03-25 09:22:06 UTC
Patch sound fine for me (just look, not tested)

Gilles Caulier
Comment 7 Dotan Cohen 2012-03-25 09:27:24 UTC
Thank you Smit!
Comment 8 Smit Mehta 2012-03-25 11:32:02 UTC
Git commit 525391e30379acccf94a754ad8f41aeaf9215d3d by smit mehta.
Committed on 25/03/2012 at 13:26.
Pushed by smitmehta into branch 'master'.

This solves the bug 296579

M  +20   -9    timeadjust/timeadjustdialog.cpp

http://commits.kde.org/kipi-plugins/525391e30379acccf94a754ad8f41aeaf9215d3d