aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2017-06-28 10:06:36 +0200
committerRobert2017-06-28 10:06:36 +0200
commite940564682b6622c9d1f5ac47b5561dba4c0426c (patch)
tree007ff90bff77001ba06f30ecd5cdc530e4246b4b
parent41c9188a5964d21efaeace14e2d8c6e14ed9195e (diff)
downloadchouette-core-e940564682b6622c9d1f5ac47b5561dba4c0426c.tar.bz2
Hotfix; Fixes: #3897@0.2h again!
-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 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 = {})