1.day? I confess to not being a Rubyist, but does that require monkeypatching the base int class?
I don't see anything unreasonable about Pendulum's interface. Let's let Python be Python and Ruby be Ruby.
I don't see anything unreasonable about Pendulum's interface. Let's let Python be Python and Ruby be Ruby.
Sorry for the rant, but I've spent many years as the only California developer for a time based in the UK, suffering the tyranny of developers who spend half their year blissfully living in UTC and unknowingly foisting off their dirty time zone bugs on me.
[0]: http://ruby-doc.org/core-1.9.3/Integer.html#method-i-times