Wrong format of date
This commit is contained in:
parent
3ac8d5736d
commit
bd3b44262f
@ -3453,14 +3453,16 @@ else
|
|||||||
|
|
||||||
if ($objp->df > 0)
|
if ($objp->df > 0)
|
||||||
{
|
{
|
||||||
|
$y = dolibarr_print_date($objp->df,'%Y');
|
||||||
|
$m = dolibarr_print_date($objp->df,'%m');
|
||||||
|
$mt = dolibarr_print_date($objp->df,'%b');
|
||||||
|
$d = dolibarr_print_date($objp->df,'%d');
|
||||||
print '<td align="center" nowrap>';
|
print '<td align="center" nowrap>';
|
||||||
$y = strftime('%Y',$objp->df);
|
print $d;
|
||||||
$m = strftime('%m',$objp->df);
|
|
||||||
print strftime('%d',$objp->df);
|
|
||||||
print ' <a href="'.$_SERVER["PHP_SELF"].'?year='.$y.'&month='.$m.'">';
|
print ' <a href="'.$_SERVER["PHP_SELF"].'?year='.$y.'&month='.$m.'">';
|
||||||
print substr(strftime('%B',$objp->df),0,3).'</a>';
|
print $mt.'</a>';
|
||||||
print ' <a href="'.$_SERVER["PHP_SELF"].'?year='.$y.'">';
|
print ' <a href="'.$_SERVER["PHP_SELF"].'?year='.$y.'">';
|
||||||
print strftime('%Y',$objp->df).'</a></td>';
|
print $y.'</a></td>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user