elm package cache
Packages
Reroutes
About
lamdera.com
MackeyRMS
/
time-util
/
1.1.0
README
About
Versions
Source
Modules
TimeUtil
Utilities we use to format times / dates wraps Time.Extra and other funzies.
type
alias
DateFormat
=
{ date
:
String
, time
:
String
}
dateTimeFormat
:
Zone
->
Posix
->
String
defaultDateFormat
:
DateFormat
encodePosix
:
Posix
->
Value
posixDecoder
:
Decoder
Posix
posixCodec
:
Codec
Posix
format
:
Zone
->
Posix
->
String
formatDate
:
Posix
->
String
formatDate_
:
Zone
->
Posix
->
String
shortDateFormat
:
Zone
->
Posix
->
String
shortTimeFormat
:
Zone
->
Posix
->
String
timeAttrFormat
:
Zone
->
Posix
->
String
isSameDay
:
Zone
->
Posix
->
Posix
->
Bool
difference
:
Posix
->
Posix
->
Int
localToUtc
:
Zone
->
Posix
->
Posix
utcToLocal
:
Zone
->
Posix
->
Posix
setNoon
:
Zone
->
Posix
->
Posix
stringFormatToStrftimeFormats
:
Maybe
String
->
DateFormat
README
About
2 versions
Source
Modules
TimeUtil