better date format

This commit is contained in:
kremsy 2014-01-03 21:46:34 +01:00
parent b07fd8cd71
commit ded31811a3

View File

@ -189,7 +189,7 @@ class PlayerDetailed {
$label = clone $mainLabel;
$frame->add($label);
$label->setY($y);
$label->setText(date("Y-m-d", time() - 3600 * 24 * $target->maniaPlanetPlayDays));
$label->setText(date("d M Y", time() - 3600 * 24 * $target->maniaPlanetPlayDays));
//Avatar
$label = new Label_Text();