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 256905 - date title format for printing is wrong (=american style)
date title format for printing is wrong (=american style)
Status: RESOLVED DUPLICATE of bug 205137
Product: evolution
Classification: Applications
Component: Calendar
2.4.x (obsolete)
Other All
: Normal minor
: Future
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 337130 (view as bug list)
Depends on:
Blocks: 336253
 
 
Reported: 2004-04-13 08:49 UTC by Baptiste Mille-Mathias
Modified: 2009-07-03 12:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a ps output of the calendar for a day (289.43 KB, application/postscript)
2004-04-13 08:51 UTC, Baptiste Mille-Mathias
  Details
the ps output for week (289.45 KB, application/postscript)
2004-04-13 08:53 UTC, Baptiste Mille-Mathias
  Details
Fixed (1.10 KB, patch)
2006-09-28 08:46 UTC, ushveen kaur
needs-work Details | Review
andre: I used fr_CA.utf8 and fr_BE.utf8,the date was shown correctly. Attaching screenshot. (35.21 KB, image/jpeg)
2006-09-29 03:44 UTC, ushveen kaur
  Details

Description Baptiste Mille-Mathias 2004-04-13 08:49:29 UTC
1°) Open Evolution into a gnome session using french locale (I used utf-8)
2°) Open the calendar
3°) select a daily or weekly range
4°) make a print preview or print the calendar

result:
the date title is wrong ("12ième Avril, 2004" instead of "12 Avril 2004")
it seems to use an English formatting rules, instead the french.
Comment 1 Baptiste Mille-Mathias 2004-04-13 08:51:47 UTC
Created attachment 43563 [details]
a ps output of the calendar for a day
Comment 2 Baptiste Mille-Mathias 2004-04-13 08:53:02 UTC
Created attachment 43564 [details]
the ps output for week
Comment 3 Baptiste Mille-Mathias 2004-04-13 09:06:59 UTC
Sorry for the spam, I forgot to say that the bug exists is evo-1.4.x
Comment 4 André Klapper 2004-09-22 11:34:14 UTC
adding "printing" keyword to make printing issues searchable again, finally...
sorry for the noise/spam.  :-/
Comment 5 André Klapper 2004-09-22 11:37:17 UTC
adding "printing" keyword to make printing issues searchable again, finally...
sorry for the noise/spam.  :-/
Comment 6 André Klapper 2004-12-15 16:02:06 UTC
in 2.0.2 it's "1 décembre, 2004". the comma between the month and the
year really sucks, it's in all languages. :-(
Comment 7 André Klapper 2005-03-23 16:40:03 UTC
still valid in evolution-2.2.0.0.200503210410-0.snap.ximian.10.1,
retargetting to 2.3, changing the summary to a more general one.
Comment 8 André Klapper 2005-07-15 21:15:53 UTC
still valid in 2.3.5.1, please take care about this one before string freeze
takes place. :-/
Comment 9 Calum Benson 2005-07-28 10:36:48 UTC
Apologies for any spam... cc'ing usability-maint on all Evolution usability
bugs. Filter on EVO-USABILITY-SPAM to ignore.
Comment 10 André Klapper 2005-09-17 03:37:54 UTC
still in 2.4.x, retargetting
Comment 11 Philippe Rouquier 2006-02-13 09:46:26 UTC
The bug is still in 2.5.90 and is really annyoying. I'm willing to fix this. can anyone give me any pointer where to look?
Comment 12 André Klapper 2006-03-04 16:30:33 UTC
philippe, i guess it's somewhere in evolution/calendar/gui/print.c
Comment 13 André Klapper 2006-03-04 16:48:36 UTC
ok, to be exact:

in evolution/calendar/gui/print.c, function "print_day_view" uses the function "format_date" which includes the following line:
if ((flags & (DATE_DAY|DATE_YEAR)) == (DATE_DAY|DATE_YEAR)) strcat(fmt, ",");

this is exactly the comma that we all see.
Comment 14 André Klapper 2006-04-04 10:33:13 UTC
*** Bug 337130 has been marked as a duplicate of this bug. ***
Comment 15 ushveen kaur 2006-09-28 08:46:08 UTC
Created attachment 73540 [details] [review]
Fixed
Comment 16 André Klapper 2006-09-28 09:39:53 UTC
does this fix the bug?
current problem is that it's always "DD M, YYYY".
your patch would change that to "DD M  YYYY".
what about languages that have "M DD YYYY"?
Comment 17 ushveen kaur 2006-09-28 09:58:51 UTC
Andre:According to the comment #0 by Baptiste Mille-Mathias,the problem is that in the print preview,the date is not shown correctly.
Comment 18 André Klapper 2006-09-28 13:45:15 UTC
ushveen: no, please re-read:
"12i�me Avril, 2004" instead of "12 Avril 2004".

please try to fix the cause instead of the impact. :-)
Comment 19 ushveen kaur 2006-09-29 03:44:46 UTC
Created attachment 73609 [details]
andre: I used fr_CA.utf8 and fr_BE.utf8,the date was shown correctly.
Attaching screenshot.

Andre: i used fr_BE.utf8 and fr_CA.utf8,in both,the date is shown correctly.
Comment 20 André Klapper 2006-09-29 12:18:48 UTC
ushveen: even if, you still have a duplicated whitespace currently.
who cares about french *if* there are a million other languages out there which probably still aren't fixed by this patch? :-)

(je les aimes, les baguettes, les trottoirs, les roses magnifiques...!)
Comment 21 cburroughs 2008-01-18 22:19:38 UTC
Note that the the local date format is not respected in more situations than just printing. See bug 348929.

The matching bug for Tasks is bug 344516.
Comment 22 Milan Crha 2009-07-03 12:18:54 UTC
Thanks for the bug report, I'm merging it with the more general bug.

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