added Timex and refined shift template length handling

This commit is contained in:
Adam Piontek 2021-03-12 09:41:41 -05:00
parent 290475c101
commit 4fb0e2df7b
8 changed files with 67 additions and 86 deletions
priv/repo

View file

@ -109,7 +109,7 @@ for user <- Accounts.list_users() do
subject: e["subject"],
description: e["description"],
location: e["location"],
time_zone: Tzdata.zone_list() |> Enum.random(),
time_zone: Timex.timezones() |> Enum.random(),
time_start: time_start,
time_end: time_end,
user_id: user.id,