
Hi, Sorry for not replying earlier. I didn't see this until Friday and didn't get much time on my computer this weekend. I asked this question because I was hoping to find System.Locale.defaultTimeLocale doesn't seem to be returning a time locale that matches what's on my system. It returns dateFmt = "%m/%d/%y" while my machine is set to EN_GB and so presumably it should return %d/%m/%y. In Python on my machine I get:
import locale locale.getdefaultlocale() ('en_GB', 'UTF8')
So anyway, I was wondering whether there was a new locale library that fixed this problem. -Rob Brent Yorgey wrote:
On Wed, Oct 14, 2009 at 05:44:34AM +0100, Robert Wills wrote:
Hello,
http://hackage.haskell.org/package/old-locale-1.0.0.1
says "This package provides the old locale library. For new code, the new locale library is recommended."
Does anyone know where I would find the new library?
What locale functions are you trying to use? As far as I can tell, there actually is no "new locale library" and functions for working with the locale have been spread across various other libraries as appropriate.
-Brent _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners