time 1.5 support

This commit is contained in:
Michael Snoyman 2014-11-17 09:46:14 +02:00
parent f988154e97
commit 83636fb002
3 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1 @@
__3.0.0.3__ Support for time 1.5

View File

@ -11,7 +11,9 @@ import qualified Data.Text as T
import Data.Time
import Data.Time.Clock.POSIX
import WaiAppStatic.Types
#if !MIN_VERSION_time(1,5,0)
import System.Locale (defaultTimeLocale)
#endif
import Data.List (sortBy)
import Util

View File

@ -1,5 +1,5 @@
name: wai-app-static
version: 3.0.0.2
version: 3.0.0.3
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
@ -17,6 +17,7 @@ Extra-source-files:
test/*.hs
test/a/b
tests.hs
ChangeLog.md
Flag print
Description: print debug info