Added a check if the passed value is array - that way you can have multiple items per day

Signed-off-by: Michael Kumar <m.kumar@abv.bg>