[darcs-devel] [issue2127] The default date output on Windows Vista with Polish locale is half English half Polish

Adam Wolk bugs at darcs.net
Fri Jan 13 20:10:11 UTC 2012


New submission from Adam Wolk <netprobe at gmail.com>:

The default output from darcs changes for dates is "Fri Jan 13 21:01:56 
\140rodkowoeuropejski czas stand. 2012" on MS Windows Vista with Polish default locale.

The name of the day and the month is in English but part of the date string is in Polish 
meaning Central European Standard Time.

Please stick to one language in the date string.

Results of a small test that I did on request by Heffalump using ghci.

https://gist.github.com/1608366

GHCi, version 7.0.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> :m +System.Time
Prelude System.Time> getClockTime
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.6 ... linking ... done.
Fri Jan 13 20:52:34 *** Exception: <stdout>: hPutChar: invalid argument (charact
er is not in the code page)
Prelude System.Time>
Prelude System.Time> :m +Control.Monad
Prelude System.Time Control.Monad> liftM show getClockTime
"Fri Jan 13 21:01:56 \140rodkowoeuropejski czas stand. 2012"
Prelude System.Time Control.Monad>

----------
messages: 15004
nosy: mulander
status: unknown
title: The default date output on Windows Vista with Polish locale is half English half Polish

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2127>
__________________________________


More information about the darcs-devel mailing list