[Haskell-cafe] formatTime %Q not working

Ian Lynagh igloo at earth.li
Fri Jun 29 16:12:01 EDT 2007


On Thu, Jun 21, 2007 at 05:39:12PM +0300, Bit Connor wrote:
> 
> >now <- getCurrentTime
> 2007-06-21 13:48:44.298699 UTC
> >formatTime defaultTimeLocale "%s" now
> "1182433724"
> >formatTime defaultTimeLocale "%Q" now
> ""
> 
> "%q" also always gives me an empty string.

It seems to work OK for me with GHC 6.6.1 and time 1.1.1. Can you please
give a complete testcase, and say which version of time you are using
and where you got it from?


Thanks
Ian



More information about the Haskell-Cafe mailing list