pretty print date in face output
This commit is contained in:
parent
06b541ca1e
commit
36a47aea44
2 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,8 @@
|
|||
"gedmo/doctrine-extensions": "^2.4",
|
||||
"symfony/serializer": "^3.1",
|
||||
"cnam/security-jwt-service-provider": "2.*",
|
||||
"jms/serializer": "^1.3"
|
||||
"jms/serializer": "^1.3",
|
||||
"danielstjules/php-pretty-datetime": "dev-master"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
|
@ -271,7 +271,7 @@ echo "</div>"; // .mouth
|
|||
|
||||
echo "<div class='currentHit'>";
|
||||
echo "<h3><span>last</span><span>vs</span><span>perfect</span></h3>";
|
||||
echo "<p>{$currentHit->getGame()->getOriginalGameAt()}</p>";
|
||||
echo "<p>".\PrettyDateTime\PrettyDateTime::parse($currentHit->getGame()->getOriginalGameAt())."</p>";
|
||||
echo "<p>aim: {$currentHit->getTarget()->getScore()}% ".$currentHit->getTarget()->getEmotion()->getName()."</p>";
|
||||
echo "<ul>";
|
||||
$expressions = array_keys($currentHit->getExpressions()::$EXPRESSIONS_2ND_PERSON);
|
||||
|
|
Loading…
Reference in a new issue