[Mono-bugs] [Bug 77249][Min] New - mono doesn't pick up time locale correctly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 13 17:04:04 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by svloon at xs4all.nl.


--- shadow/77249	2006-01-13 17:04:04.000000000 -0500
+++ shadow/77249.tmp.28247	2006-01-13 17:04:04.000000000 -0500
@@ -0,0 +1,70 @@
+Bug#: 77249
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: Ubuntu Linux 5.10 - Breezy Badger
+Status: NEW   
+Priority: Minor
+Component: Sys.Data
+AssignedTo: tsenganal at novell.com                            
+ReportedBy: svloon at xs4all.nl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: mono doesn't pick up time locale correctly
+Description of Problem:
+My exact Mono version is I don't know what the best way
+would be to describe this bug, so I'll post the IRC log of my conversation
+with Larry Ewing, the F-Spot developer, here.
+FforFragging lewing: now that you're here I hope it's ok if I ask you
+directly instead of posting in Bugzilla, but I noticed that f-spot (at
+least in 0.1.3) displays data's in the month/day/year format, could there
+be an option to change this to day/month/year?
+lewing FforFragging: it should use the mono culture info
+lewing FforFragging: what is your locale set to?
+FforFragging uhm sorry, but I'm all but an expert on this, all I know is
+that mono is for .NET and that f-spot uses it, how do I find out what my
+locale is set to?
+lewing type "locale" at a command line
+lewing and tell me what LC_TIME is set to
+FforFragging en US - I live in the Netherlands, Europe, but I installed
+Ubuntu Breezy in English, I did set my timezone Europe, Amsterdam though
+FforFragging so the locale is a setting controlled by GNOME, I assume
+FforFragging how can I change it?
+lewing it doesn't look like mono is picking up the time locale correctly,
+let me check there
+* jimmac has quit (Leaving)
+lewing FforFragging: so it looks like it changes the date format if you
+explicitly set LANG
+lewing FforFragging: but not if you just set LC_TIME
+lewing FforFragging: so i would file a mono bug at bugzilla.ximian.com
+FforFragging hmm ok, but perhaps it's possible that Ubuntu's version of
+Mono in Breezy is old, and that it has already been fixed in a newer
+version of Mono?
+hub FforFragging: hasn't mono been updated in the backports?
+lewing FforFragging: for now setting LANG=en_GB.UTF-8 should do most of
+what you want
+hub breeze-backports
+lewing unless you really dislike british spelling
+FforFragging hub: yes, possibly, I'll check my version in a moment
+* hub use dapper
+FforFragging lewing: how do I change that setting?
+lewing you can set it for a particular terminal by running "export
+LANG=en_GB.UTF-8" you can set it for a session when you log in with gdm
+lewing I'm not sure how you set the default setting with ubuntu
+FforFragging ok, thank you for your help, I'll post a bug report then
+FforFragging lewing, for which product should I file the bug? there are 8
+different products for mono?
+lewing FforFragging: class libraries
+FforFragging ok, thanks 
+So I opened a terminal and typed "export LANG=en_GB.UTF-8". Then I typed
+"locale" again and I noticed that the locale was changed correctly. then I
+started F-Spot from the terminal, and I noticed that F-Spot displayed the
+date format correctly now, in days/months/years.

More information about the mono-bugs mailing list