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 540281 - Should use locale setting for displaying the date, etc
Should use locale setting for displaying the date, etc
Status: RESOLVED WONTFIX
Product: Tasque
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: tasque-maint
tasque-maint
gnome[unmaintained]
: 600668 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-06-26 09:00 UTC by Sebastian Dröge (slomo)
Modified: 2018-07-02 10:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2008-06-26 09:00:07 UTC
Quoting http://bugs.debian.org/488084 :

> Now that tasque can display my tasks, I noticed that it does not use 
> the locale setting to display the end date of them e.g. it will 
> display 7/11 for a task set to en on July the 11 but in French we 
> would write 11/7.
Comment 1 Sandy Armstrong 2008-06-26 11:49:43 UTC
This actually depends on the translator.  We have lines like this in Tasque:

Catalog.GetString("M/d - ddd")

And for the French translation, this should be translated to "d/M -ddd".  This has not yet been done.

Is there a smarter way to handle this that I'm not aware of?
Comment 2 Sebastian Dröge (slomo) 2008-06-26 12:01:58 UTC
In C it's possible to ask libc for the locale settings for displaying time, date, money, etc. Should be possible in C# too somehow :)
Comment 3 Sandy Armstrong 2008-06-26 12:10:37 UTC
In bug #532765, we decided our current approach was OK, but I'll look into using the CultureInfo stuff in Mono.

For now, I'm just going to treat this as a bug in the French translation.
Comment 4 Sandy Armstrong 2008-08-06 20:04:49 UTC
By the way, this got fixed in the French translation along with Christophe Benz's update in r91.

Leaving open, though, because we can do this better, I'm sure.  :-)
Comment 5 Jonathan Musther 2009-01-27 22:22:35 UTC
I'm in New Zealand, and had the same issue with the date being displayed mm/dd rather than dd/mm.  The 'quick fix', thanks to Sandy Armstrong, was to replace all of the M/d with d/M.  The easiest way was to navigate to the sources directory and run the following line of python before compilation:

perl -pi -w -e 's/M\/d/d\/M/g;' *.cs

Just posting in case this helps somebody else.
Comment 6 Robert naylor 2009-05-03 22:10:26 UTC
This is also the case for UK users.  What makes it even worse is the imput box for adding tasks is in the correct format d/M, however the display is done in M/d so I keep entering the date for my tasks in the wrong format. 
Comment 7 Sandy Armstrong 2009-11-04 16:33:30 UTC
*** Bug 600668 has been marked as a duplicate of this bug. ***
Comment 8 Stuart Bishop 2011-03-01 10:41:55 UTC
en_AU also should use European format.
Comment 9 André Klapper 2018-07-02 10:38:31 UTC
Tasque is not under active development anymore and has not seen code
changes for five years, and both its mailing lists have seen their last activity three years ago at https://mail.gnome.org/archives/tasque-list/ and https://groups.google.com/forum/#!forum/tasky

Its codebase has been archived:
https://gitlab.gnome.org/Archive/tasque/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.