Does Ruby\'s strftime have a format for the month without a leading zero?
strftime
I found %e for getting the day without the leading zero, but not hav
%e
I had a similar problem and fixed it by converting strftime("%m") into an integer.
strftime("%m")
For example:
strftime("%m")+0 give the current month as integer 'without leading zero'
Simple, though not elegant.