josedonizetti/ruby-duration

Feature Request: Support duration creation from iso 8601 strings

Closed this issue · 1 comments

asset_equal 60, Duration.new("PT1M').to_i

This would let me support loading interval data types from postgresql into a Duration object. http://www.postgresql.org/docs/9.1/static/datatype-datetime.html

Pull request #7 submitted