mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
drop old-locale dependency
This commit is contained in:
parent
4ceab68e1f
commit
6c6eb2691e
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
2
Tests.hs
2
Tests.hs
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user