I have submitted a patch for this at
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1761-patch-to-add-leading-zeros-capability-to-datetime_select-and-date_select

Colin

2009/1/13 Tony <[email protected]>

>
> Sounds like a good idea to me and something I could use...
>
> -T
>
> On Jan 13, 12:07 pm, Colin Law <[email protected]> wrote:
> > On Jan 11, 2:10 pm, Colin Law <[email protected]> wrote:
> >
> > > Hi
> >
> > > I would like to add the ability to specify leading zeros on the day,
> > > and month (if :use_month_numbers is true), for
> > > ActionView::Helpers::DateHelper::datetime_select. I suggest an
> > > option :leading_zeros_month_and_day. Is this an enhancement that would
> > > be supported?  If so I will submit a patch for the feature and tests.
> >
> > > Regards
> >
> > > Colin Law
> >
> > Does the fact that no one has responded mean that it is thought that
> > this is not worth doing? If so that is a pity as it is only a three or
> > four lines of code and there is a willing volunteer here ready to do
> > it. It seems to me that this would round off datetime_select nicely.
> > Colin.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to