shift73k/lib/shift73k.ex

19 lines
546 B
Elixir
Raw Normal View History

2021-03-05 19:23:32 -05:00
defmodule Shift73k do
2020-09-12 18:43:17 -04:00
@moduledoc """
2021-03-05 19:23:32 -05:00
Shift73k keeps the contexts that define your domain
2020-09-12 18:43:17 -04:00
and business logic.
Contexts are also responsible for managing your data, regardless
if it comes from the database, an external API or others.
"""
2021-03-29 07:31:52 -04:00
@app_vars Application.compile_env(:shift73k, :app_global_vars, time_zone: "America/New_York")
@app_time_zone @app_vars[:time_zone]
@weekdays [:monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday]
def app_time_zone, do: @app_time_zone
def weekdays, do: @weekdays
2020-09-12 18:43:17 -04:00
end