Method: Kiss::Format::DateTime.value_to_s
- Defined in:
- lib/kiss/format.rb
.value_to_s(value, context = {}) ⇒ Object
141 142 143 |
# File 'lib/kiss/format.rb', line 141 def value_to_s(value, context = {}) convert_value_utc_to_local(value, context).strftime("%m/%d/%Y %I:%M %p").gsub(/0(\d[\:\/])/, '\1') end |