#1550: Data.Time.formatTime "%S" includes fractional seconds
-------------------------------------------+--------------------------------
    Reporter:  guest                       |        Owner:             
        Type:  bug                         |       Status:  closed     
    Priority:  normal                      |    Milestone:             
   Component:  libraries (other)           |      Version:  6.6.1      
    Severity:  normal                      |   Resolution:  fixed      
    Keywords:  time library documentation  |   Difficulty:  Easy (1 hr)
          Os:  Unknown                     |     Testcase:             
Architecture:  Unknown                     |  
-------------------------------------------+--------------------------------
Changes (by guest):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 I am pretty sure this was fixed in time-1.1.

 Prelude Data.Time Locale> getZonedTime >>= return . formatTime
 defaultTimeLocale "%S"
 Loading package time-1.1.1 ... linking ... done.
 "08"

 I think ghc 6.6 has time-1.0, and ghc 6.6.1 has time-1.1?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1550>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to