Skip to content
Snippets Groups Projects
Commit 2fe2d59b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Mauvaise année si avant 1800

parent 6fc3f0a2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment