View Source Weather.DateUtils (Weather v0.1.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.

Functions

Link to this function

time_by_hour(data, timezone, arg3)

View Source
@spec time_by_hour(map(), 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(data, timezone, arg3)

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

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