Commit 6ece98d2 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Use `Time.parse` instead of `DateTime.parse`

parent 580a4249
...@@ -47,7 +47,7 @@ module Gitlab ...@@ -47,7 +47,7 @@ module Gitlab
end end
def starts_at def starts_at
DateTime.parse(payload[:start_time].to_s).rfc3339 Time.parse(payload[:start_time].to_s).rfc3339
rescue ArgumentError rescue ArgumentError
current_time current_time
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment