QF - Date leading zeros
| From: | Mark Steudel | Date: | Tue, 28 Feb 2006 17:55:58 +0000 |
| Subject: | QF - Date leading zeros | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23161@lists.php.net to get a copy of this message | ||
It looks like in the manual that QF doesn't support date formats with
leading zeroes.
I've gotten around this by adding something like this in my form:
$_POST['startdate']['M'] = ( $_POST['startdate']['M'] <
10 ?
'0'.$_POST['startdate']['M'] :
$_POST['startdate']['M']);
$_POST['enddate']['M'] = ( $_POST['enddate']['M'] < 10
?
'0'.$_POST['enddate']['M'] :
$_POST['enddate']['M']);
I was wondering if there is a way to get the date element to support leading
zero date formats or not.
THanks, Mark
PS What happened to the search function on the mailing lists?