
21 Jun
2007
21 Jun
'07
10:39 a.m.
Hello, I am using ghc 6.6. I am using the formatTime function from Data.Time.Format. The docs say that the %Q format string gives: "decimal point and up to 12 second decimals, without trailing zeros." But I always just get an empty string. Here is what happens when I try using ghci:
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. Is this a bug? Thanks, Bit