iso8601-time-0.1.4: iso8601-time.cabal
name: iso8601-time
version: 0.1.4
license: MIT
copyright: 2013 Niklas Hambüchen <mail@nh2.me>
author: Niklas Hambüchen <mail@nh2.me>
maintainer: Niklas Hambüchen <mail@nh2.me>
category: Time
build-type: Simple
stability: experimental
tested-With: GHC==7.6.3
cabal-version: >= 1.8
homepage: https://github.com/nh2/iso8601-time
bug-Reports: https://github.com/nh2/iso8601-time/issues
synopsis: Convert to/from the ISO 8601 time format
description:
Conversion functions between Haskell time types and the ISO 8601 format,
which is often used for printing times, e.g. JavaScript's @new Date().toISOString()@.
source-repository head
type: git
location: git://github.com/nh2/iso8601-time.git
flag new-time
default: True
library
exposed-modules:
Data.Time.ISO8601
hs-source-dirs:
src
build-depends:
base < 5
, time >= 1.4
if flag(new-time)
build-depends:
time >= 1.5
else
build-depends:
time == 1.4.*
, old-locale >= 1.0
ghc-options:
-Wall
test-Suite tests
type: exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
Main.hs
build-depends:
base >= 4 && < 5
, iso8601-time
, hspec >= 1.3.0.1
, HUnit >= 1.2
, time >= 1.4
ghc-options:
-Wall