aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/calendar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/calendar.rb b/app/models/calendar.rb
index 2462501bc..47dc02c40 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::CalendarDate.new(*date_int)
+ Calendar::DateValue.new(*date_int)
end
def periods_attributes=(attributes = {})