After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344516 - Wrong date format in tasks
Wrong date format in tasks
Status: RESOLVED DUPLICATE of bug 336253
Product: evolution
Classification: Applications
Component: Tasks
2.6.x (obsolete)
Other other
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks: 336253
 
 
Reported: 2006-06-10 21:09 UTC by Haggai Eran
Modified: 2008-01-19 01:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
proposed evo part of patch (839 bytes, patch)
2007-11-02 12:11 UTC, Milan Crha
committed Details | Review
proposed eds patch (857 bytes, patch)
2007-11-02 12:17 UTC, Milan Crha
committed Details | Review

Description Haggai Eran 2006-06-10 21:09:13 UTC
Distribution: Debian 3.1 (sarge)
Package: Evolution
Severity: Normal
Version: GNOME2.14.1 2.6.x
Gnome-Distributor: Debian
Synopsis: Wrong date format in tasks
Bugzilla-Product: Evolution
Bugzilla-Component: Tasks
Bugzilla-Version: 2.6.x
Description:
Description of Problem:
The due date of tasks in the task list is shown in the wrong format for
my locale (MM/DD/YYYY), even though it is entered in the right format
(DD/MM/YYYY). 


Steps to reproduce the problem:
1. Set locale to he_IL.UTF-8
2. Enter a new tasks with due date 10/6/2006
3. See the new task with date 06/10/2006 in the list (the date is
correct, its just shown in the wrong format).

Actual Results:
The date is shown 06/10/2006, which is in order MM/DD/YYYY, although the
locale specifies that dates are DD/MM/YYYY

Expected Results:
10/06/2006

How often does this happen?
everytime

Additional Information:




------- Bug created by bug-buddy at 2006-06-10 21:09 -------

Comment 1 Elijah Newren 2006-06-10 21:15:56 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Matches the description in bug 332575, which has been marked as a duplicate of 332318.

*** This bug has been marked as a duplicate of 332318 ***
Comment 2 Haggai Eran 2006-06-12 08:27:46 UTC
Hi
I don't understand, how my bug report can be a duplicate, of a bug that is marked resolved for a previous version. My bug is reproducible on 2.6.1, and bug #332318 is marked resolved for version 2.5. 

Haggai Eran
Comment 3 Elijah Newren 2006-06-12 14:05:05 UTC
Good point; sorry about that.
Comment 4 Jochen 2007-11-01 03:41:28 UTC
This is still present in evolution 2.12.2 
Locale is set to en_NZ. If I create a new task, with a due date or start date, I enter it in the correct format (dd/mm/yyyy), however the task details show:

Due Date: %a %m/%d/%Y 
which is the wrong format (mm/dd/yyyy).
Comment 5 Milan Crha 2007-11-02 12:11:26 UTC
Created attachment 98370 [details] [review]
proposed evo part of patch

for evolution;
Comment 6 Milan Crha 2007-11-02 12:17:45 UTC
Created attachment 98371 [details] [review]
proposed eds patch

for evolution-data-server;

The problem here is that those formats are translated, instead of getting them from locale, so if translators makes mistake, then it is there. (It's the case for he_IL.)

For en_NZ is no such translation, so it uses default one, which is "%a %m/%d/%Y". To have it more exciting, some parts of code uses locale date formats, like date edit in start/due date, so it shows format correctly based on actual locale.

I saw somewhere one bug about stop localizing these strings and use those from locale/glib, but I forgot that number and I'm not sure what is the progress/status with it (even, obviously not much progress) :)
Comment 7 Srinivasa Ragavan 2007-11-05 05:56:28 UTC
Milan, you can commit this. But this bug should be still open for NZ.
Comment 8 Milan Crha 2007-11-05 10:41:43 UTC
Evo part committed to trunk. Committed revision 34498.
EDS part committed to trunk. Committed revision 8184.

Maybe, we can mark this as duplicate of that bug for non-translating date formats, even I still cannot remember that number.
Comment 9 cburroughs 2008-01-18 22:19:52 UTC
Still present in 2.12.1

The matching bug for the Calendar component is bug 348929.
Comment 10 André Klapper 2008-01-19 01:49:39 UTC
as explained in comment 6 and comment 8, marking this as a duplicate of bug 336253.

*** This bug has been marked as a duplicate of 336253 ***