drop old-locale dependency

This commit is contained in:
Simon Michael 2009-06-03 23:44:01 +00:00
parent 4ceab68e1f
commit 6c6eb2691e
6 changed files with 5 additions and 7 deletions

View File

@ -49,7 +49,7 @@ import Text.Printf (printf)
import Text.Regex.PCRE ((=~))
import Data.Maybe
import Ledger.Dates (firstJust, showDate)
import System.Locale (defaultTimeLocale)
import Locale (defaultTimeLocale)
import Data.Time.Format (parseTime)
import Control.Monad (when)

View File

@ -10,7 +10,7 @@ import qualified Data.Map as M
-- import Data.Map ((!))
import Data.Time.Clock
import Data.Time.Format
import System.Locale
import Locale
import Control.Concurrent
import qualified Data.ByteString.Lazy.Char8 as B
import Happstack.Data (defaultValue)

View File

@ -26,7 +26,7 @@ import Data.Time.Calendar.MonthDay
import Data.Time.Calendar.OrdinalDate
import Data.Time.Calendar.WeekDate
import Data.Time.LocalTime
import System.Locale (defaultTimeLocale)
import Locale (defaultTimeLocale)
import Text.Printf
import Data.Maybe
import Text.ParserCombinators.Parsec

View File

@ -150,7 +150,7 @@ module Tests
where
import qualified Data.Map as Map
import Data.Time.Format
import System.Locale (defaultTimeLocale)
import Locale (defaultTimeLocale)
import Text.ParserCombinators.Parsec
import Test.HUnit
import Test.HUnit.Tools (assertRaises, runVerboseTests)

View File

@ -61,7 +61,6 @@ library
,directory
,filepath
,haskell98
,old-locale
,parsec
,time
,utf8-string
@ -108,7 +107,6 @@ executable hledger
,filepath
,haskell98
,mtl
,old-locale
,parsec
,process
,regex-compat

View File

@ -52,7 +52,7 @@ import System.Exit
import Text.Printf
import Data.Time.Clock
import Data.Time.Format
import System.Locale
import Locale
import Control.Monad
import Debug.Trace
import System.Console.GetOpt