Method: Og::SqlUtils#parse_timestamp
- Defined in:
- lib/og/store/sql/utils.rb
#parse_timestamp(str) ⇒ Object
Parse sql datetime – TODO: Optimize this. ++
63 64 65 66 |
# File 'lib/og/store/sql/utils.rb', line 63 def (str) return nil unless str return Time.parse(str) end |