Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/ndr_support/date_and_time_extensions.rb
Overview
Instance Method Summary collapse
-
#to_iso ⇒ Object
to_iso output must be SQL safe for security reasons.
Instance Method Details
#to_iso ⇒ Object
to_iso output must be SQL safe for security reasons
17 18 19 |
# File 'lib/ndr_support/date_and_time_extensions.rb', line 17 def to_iso strftime('%Y-%m-%dT%H:%M:%S') end |