Adapt relative date logic from F# version
This commit is contained in:
@@ -30,8 +30,8 @@ Layout::pageHead('Full Request');?>
|
||||
<div class=card-body>
|
||||
<h6 class="card-subtitle text-muted mb-2"><?php
|
||||
if (!is_null($answered)) { ?>
|
||||
Answered <?=$answered->format('F j, Y')?> (<?php UI::relativeDate($req->history[0]->asOf); ?>)
|
||||
•<?php
|
||||
Answered <?=$answered->format('F j, Y')?>
|
||||
(<?=UI::formatDistance('now', $req->history[0]->asOf);?>) •<?php
|
||||
} ?>
|
||||
Prayed <?=number_format($prayed)?> times • Open <?=number_format($daysOpen)?> days
|
||||
</h6>
|
||||
|
||||
Reference in New Issue
Block a user