Fix: Mauvaise anne si avant 1800
This commit is contained in:
parent
6fc3f0a22b
commit
2fe2d59b4c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user