Flowdock
method

datetime_value

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: DatetimeField
datetime_value(value) private

No documentation

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

Hide source
# File actionview/lib/action_view/helpers/tags/datetime_field.rb, line 22
          def datetime_value(value)
            if value.is_a? String
              DateTime.parse(value) rescue nil
            else
              value
            end
          end
Register or log in to add new notes.