fermo_helpers v0.7.2 FermoHelpers.DateTime View Source

Note: If you want to use current_datetime/1, you need to include the following dependency:

{:tzdata, "~> 1.0"}

and add a config option

config :elixir, :time_zone_database, Tzdata.TimeZoneDatabase

Link to this section Summary

Link to this section Functions

Link to this function

current_datetime(zone \\ "Etc/UTC")

View Source
Link to this function

datetime_to_rfc2822(datetime)

View Source
Link to this function

strftime!(datetime, format)

View Source