Date field translation on the GUI

date_select(object_name, method, options = {})

When the date_select method is it returns a select tags. The days tag
is always set to 31 days. Is there a way to make the month and days
tag relative. For example when the month is selected as January the
number of days should be 31 and when the month is selected for
February the number of days should be 28 or 29 depending on whether it
is a leap year.

Is there a easy way to do this?

Cheers
Hari

On 3/21/07, Hari [email protected] wrote:

Is there a easy way to do this?
It’s not too hard with Javascript, though it is a bit tedious. I use
the Simple Date Select plugin [1], which avoids the problem entirely.

[1] Peak Obsession.

Jeremy