Method: ActiveSupport::JSON::Encoding.use_standard_json_time_format
- Defined in:
- lib/active_support/json/encoding.rb
permalink .use_standard_json_time_format ⇒ Object
If true, use ISO 8601 format for dates and times. Otherwise, fall back to the Active Support legacy format.
117 118 119 |
# File 'lib/active_support/json/encoding.rb', line 117 def use_standard_json_time_format @use_standard_json_time_format end |