From e940564682b6622c9d1f5ac47b5561dba4c0426c Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 28 Jun 2017 10:06:36 +0200 Subject: Hotfix; Fixes: #3897@0.2h again! --- app/models/calendar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/calendar.rb b/app/models/calendar.rb index 47dc02c40..70fea9619 100644 --- a/app/models/calendar.rb +++ b/app/models/calendar.rb @@ -71,7 +71,7 @@ class Calendar < ActiveRecord::Base def flatten_date_array attributes, key date_int = %w(1 2 3).map {|e| attributes["#{key}(#{e}i)"].to_i } - Calendar::DateValue.new(*date_int) + Date.new(*date_int) end def periods_attributes=(attributes = {}) -- cgit v1.2.3