View Source Weather.DateUtils (Weather v0.2.2)

Provides date display utilities.

Summary

Functions

Returns the time specific to the hour, displayed in 12-hour or 24-hour format.

Returns the time specific to the minute, displayed in 12-hour or 24-hour format.

Functions

Link to this function

time_by_hour(unix_time, timezone, arg3)

View Source
@spec time_by_hour(integer(), String.t(), Weather.Opts.t()) :: String.t()

Returns the time specific to the hour, displayed in 12-hour or 24-hour format.

Link to this function

time_by_minute(unix_time, timezone, opts)

View Source
@spec time_by_minute(integer(), String.t(), Weather.Opts.t()) :: String.t()

Returns the time specific to the minute, displayed in 12-hour or 24-hour format.