View Source Weather.DateUtils (Weather v0.3.4)
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.
Returns the time specific to the minute, displayed in 12-hour or 24-hour format, with the day.
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.
Link to this function
time_by_minute_with_day(unix_time, timezone, opts \\ Weather.Opts.new())
View Source@spec time_by_minute_with_day(integer(), String.t(), Weather.Opts.t()) :: String.t()
Returns the time specific to the minute, displayed in 12-hour or 24-hour format, with the day.