diff options
| -rw-r--r-- | app/models/calendar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 = {}) |
