View Source Weather.DateUtils (Weather v0.2.6)
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
@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.
@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.