Fixes MySQL meeting date handling

pull/6827/head
Hagen Schink 11 years ago
parent fecba2d6f6
commit 5fa4ac4dc1
  1. 2
      app/models/activity/meeting_activity_provider.rb

@ -85,7 +85,7 @@ class Activity::MeetingActivityProvider
def self.event_meeting_title(event)
start_time = event['meeting_start_time'].is_a?(String) ? DateTime.parse(event['meeting_start_time'])
: start_time
: event['meeting_start_time']
end_time = start_time + event['meeting_duration'].to_f.hours
"#{l :label_meeting}: #{event['meeting_title']} (#{format_date start_time} \

Loading…
Cancel
Save