View Source z_dateformat (zotonic_stdlib v1.19.0)
Summary
Types
-type date() :: {integer(), 1..12, 1..31}.
-type datetime() :: calendar:datetime() | {date(), calendar:time()}.
-type tz() :: string().
Functions
-spec format(datetime() | calendar:date(), string(), list()) -> binary() | undefined.
-spec tz_name(calendar:datetime(), prefer_standard | prefer_daylight | both, tz()) -> string().