Evan Dorn
Not a member
Evan Dorn's latest activity
Tuesday, July 06 2010
-
Evan Dorn commented at 2:32 AMSince it appears to be a platform-dependent Ruby issue, I reported this to the Ruby error tracker: http://redmine.ruby-lang.org/issues/show/3541
-
- Importance changed from to Low
It's not the version of Ruby that matters. It's the platform. Works on linux, doesn't work on Mac.
On a mac, Snow Leopard installed:
[18:12:52 ~]$ irb ruby-1.8....
Sunday, May 30 2010
4729
ActiveSupport::TimeWithZone strftime formatting lacks unpadded types
was updated
in Ruby on Rails
-
Evan Dorn commented at 1:04 AMAttempt at better formatting:
Loading development environment (Rails 2.3.8)>> DateTime.parse("June 5th").strftime("%m %d")
=> "06 05"
>> DateTime.parse("June 5...
-
Evan Dorn created the ticket at 1:00 AMPlain ruby DateTime#strftime supports non-zero-padded month and day codes %-m and %-d, making it possible to generate "March 5, 2010" instead of "March 05, 2010...