minor adjustments to be in line with bones73k
This commit is contained in:
parent
120b80dc69
commit
79fad5920e
7 changed files with 14 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
|||
defmodule Shift73k.Accounts.User do
|
||||
use Ecto.Schema
|
||||
import Ecto.Changeset
|
||||
import Shift73k.Util.Dt, only: [weekdays: 0]
|
||||
import Shift73k, only: [weekdays: 0]
|
||||
|
||||
alias Shift73k.Shifts.Templates.ShiftTemplate
|
||||
alias Shift73k.Shifts.Shift
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
defmodule Shift73k.Util.Dt do
|
||||
@app_vars Application.get_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
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue