Package: php4
Version: 4:4.3.10-2
Severity: minor
The date function used to return a fromatted string from
a timestamp returns march as a month string for feb. timestamps
Here is some code that illustrates the problem:
function cal_print_mon($mn)
{
$ts = mktime(0,0,0, $mn);
$ret_str = strtoupper(date("F", $ts));
echo $ret_str;
}
$i=1;
while($i<13){
cal_print_mon($i);
echo " ", $i++,"<br>\n";
}
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages php4 depends on:
ii libapache-mod-php4 4:4.3.10-2 server-side, HTML-embedded scripti
ii php4-common 4:4.3.10-2 Common files for packages built fr
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]