old-locale 1.0.0.0 → 1.0.0.1
raw patch · 2 files changed
+6/−4 lines, 2 filesnew-uploaderPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- System/Locale.hs +4/−3
- old-locale.cabal +2/−1
System/Locale.hs view
@@ -10,7 +10,8 @@ -- -- This module provides the ability to adapt to local conventions. -- At present, it supports only time and date information as used by--- 'System.Time.calendarTimeToString' from the "System.Time" module.+-- System.Time.calendarTimeToString from the System.Time module in the+-- old-time package. -- ----------------------------------------------------------------------------- @@ -75,8 +76,8 @@ -- but we can add a time spec. iso8601DateFormat :: Maybe String -> String-iso8601DateFormat timeFmt =- "%Y-%m-%d" ++ case timeFmt of+iso8601DateFormat mTimeFmt =+ "%Y-%m-%d" ++ case mTimeFmt of Nothing -> "" Just fmt -> ' ' : fmt
old-locale.cabal view
@@ -1,9 +1,10 @@ name: old-locale-version: 1.0.0.0+version: 1.0.0.1 license: BSD3 license-file: LICENSE maintainer: libraries@haskell.org synopsis: locale library+category: System description: This package provides the old locale library. For new code, the new locale library is recommended.