Fix: Mauvaise anne si avant 1800

This commit is contained in:
Laurent Destailleur 2008-01-07 09:19:39 +00:00
parent 6fc3f0a22b
commit 2fe2d59b4c

View File

@ -204,12 +204,14 @@ function displayBox($selectedDate,$month,$year){
if($selDate)
{
$tempDate=dolibarr_getdate($selDate);
print $langs->trans($tempDate["month"])." ";
print $langs->trans($selectMonth)." ";
print sprintf("%02s",$tempDate["mday"]);
print ", ".$tempDate["year"];
print ", ".$selectYear;
}
else
{
print "Click a Date";
}
?></td></tr>
</table>
<?php