rails/rails — pull request #3938 by DevL (2011-12-11 16:44:48+00:00)
Title: :use_two_digit_numbers option

Me and github user [Lavinia](https://github.com/lavinia) have been pair-programming on this to add an option 'use_two_digit_numbers' for creating select tags displaying months and days with leading zeros without changing the values.

This is especially helpful for e.g. ISO8601-style dates, 2011-08-01. We've seen a number of cases where this itch has popped up (especially outside the US), but not found a really simple way to scratch it:

http://stackoverflow.com/questions/6609340/is-it-possible-to-add-leading-zeros-to-the-day-and-month-in-rails-date-select-a

We're both first-time contributors so any feedback is warmly welcome!