MackeyRMS/time-util/1.0.0

NOTE: the latest version is 1.1.0

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
difference : Posix -> Posix -> Int
encodePosix : Posix -> Value
format : Zone -> Posix -> String
formatDate : Posix -> String
formatDate_ : Zone -> Posix -> String
isSameDay : Zone -> Posix -> Posix -> Bool
localToUtc : Zone -> Posix -> Posix
posixDecoder : Decoder Posix
setNoon : Zone -> Posix -> Posix
shortDateFormat : Zone -> Posix -> String
shortTimeFormat : Zone -> Posix -> String
stringFormatToStrftimeFormats : Maybe String -> DateFormat
timeAttrFormat : Zone -> Posix -> String
utcToLocal : Zone -> Posix -> Posix