Copyright | (c) 2018-2022 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Stable |
Portability | Portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
TOML-specific combinators for converting between TOML and Haskell date and time
data types. TOML specification describes date and time primitives you
can use in your configuration. tomland
provides mapping of those
primitives to types from the time
library.
Haskell Type | TOML | TomlCodec |
---|---|---|
ZonedTime | a = 2020-05-16T04:32:00Z |
|
LocalTime | a = 2020-05-16T04:32:00 |
|
Day | a = 2020-05-16 |
|
TimeOfDay | a = 04:32:00 |
|
Since: 1.3.0.0