[dev] whups's Horde_Form_Type_datetime

Chuck Hagenbuch chuck at horde.org
Sat Aug 12 19:17:43 PDT 2006


Quoting Duck <duck at obala.net>:

> If variable is not required, and the user select noting. The form does not
> validate with "Select all date components." message. Even I select only
> the “monthdayyear” the field is not valid.
>
> I guess that the logic should be that if the hours/second part is not defined
> that we meant “till selected day”, so the time must be set to the end
> beginning of the day (00:00)

Sounds right to me. And that if everything is empty we should let it  
through, too (if it's not required).

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list