Flowdock
method

to_datetime

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::String::Conversions
to_datetime() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/string/conversions.rb, line 22
        def to_datetime
          ::DateTime.civil(*::Date._parse(self, false).values_at(:year, :mon, :mday, :hour, :min, :sec).map { |arg| arg || 0 })
        end
Register or log in to add new notes.