I had previously made posts about parsing user supplied dates in Ruby
- http://blog.michaelgreenly.com/2012/01/more-parsing-user-supplied-dates-and.html
- http://blog.michaelgreenly.com/2012/01/parsing-user-supplied-dates-and-times.html
Apparently in Ruby 1.9.3 the Date library was re-implemented in C for performance and of course that broke my extension. I updated it to support Ruby 1.9.3 below
This may not work on Ruby versions prior to 1.9.3 I didn't try it.
I also found the american_date gem which apparently existed before I had originally written my extension and is almost certainly a better choice if you don't need any custom formats.
No comments:
Post a Comment