html_select_time documentation bug + feature request.
| From: | Ajay Sharma | Date: | Wed, 25 Feb 2004 02:28:27 +0000 |
| Subject: | html_select_time documentation bug + feature request. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11023@lists.php.net to get a copy of this message | ||
There's a problem with the docs for html_select_time:
http://smarty.php.net/manual/en/language.function.html.select.time.php
"The time-attribute can have different formats. It can be a uniq-timestamp or a string containing Y-M-D. YYYY-MM-DD may be the most common, but months and days with less than two digits are also recognized. If one of the 3 values (Y,M,D) is the empty string, than the according select-box is not pre-selected at all. This is especially useful with the empty_year-, -month- and -day-attritbutes."
Obviously that paragraph was copied from the html_select_date and should be removed from the html_select_time page.
And while I'm at it, can we get the "field_separator" parameter from the html_select_date function for html_select_time?
Finally, could we make html_select_time accept HH:MM:SS for the time parameter? Sorta like the html_select_date function accepts dates in YYYY-MM-DD format.
Thanks,
Ajay
--
Satyajot (Ajay) Sharma
RevShare Corp
System Administrator