fix trailing space, add missing end

This commit is contained in:
Stella Rouzi 2014-06-17 13:34:38 +03:00
parent 9fba9eedc7
commit cda2a0a1ae

View file

@ -42,7 +42,7 @@ module Admin
Rails.logger.debug("Loading #{time}")
# FIXME: Same here as in events_controller.rb. Event timezone should be applied
# only on output
# only on output
# zone = ActiveSupport::TimeZone::new(@conference.timezone)
# start_time = DateTime.strptime(time + zone.formatted_offset, "%Y-%m-%d %k:%M %Z")
start_time = DateTime.strptime(time, '%Y-%m-%d %k:%M')
@ -52,3 +52,4 @@ module Admin
end
end
end