Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

expsose :leading_zeros to public API

#5140

As per current code drop down for day in f.datetime will never have leading_zeros. However the minutes will have leading_zeros.

The drop down value for day will not have leading_zeros and the 'false' is hardcoded there so no user option will do anything there.

However minutes part of datetime can be governed by user input.

I would say that :leading_zeros should be exposed to public API and year, month, day, hour, minute and seconds should obey :leading_zeros option passed by user. Right now some have hard coded value and some obey user input.

I am working on a patch.

Reported by Neeraj Singh · July 17th, 2010 @ 09:15 PM

State: wontfix
Milestone: 3.x
Assigned to: Neeraj Singh Neeraj Singh
Importance: Low

Activity

  1. Neeraj Singh
    Neeraj Singh
    • State changed from new to wontfix

    José Valim is right. No one needs it. :-)

    July 18th, 2010 @ 02:24 PM