Fix: Mauvaise année si avant 1800
This commit is contained in:
parent
6fc3f0a22b
commit
2fe2d59b4c
@ -204,12 +204,14 @@ function displayBox($selectedDate,$month,$year){
|
|||||||
if($selDate)
|
if($selDate)
|
||||||
{
|
{
|
||||||
$tempDate=dolibarr_getdate($selDate);
|
$tempDate=dolibarr_getdate($selDate);
|
||||||
print $langs->trans($tempDate["month"])." ";
|
print $langs->trans($selectMonth)." ";
|
||||||
print sprintf("%02s",$tempDate["mday"]);
|
print sprintf("%02s",$tempDate["mday"]);
|
||||||
print ", ".$tempDate["year"];
|
print ", ".$selectYear;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
print "Click a Date";
|
print "Click a Date";
|
||||||
|
}
|
||||||
?></td></tr>
|
?></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user