Move files, complete PHP migration
The application works the same way as the F# version
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
use MyPrayerJournal\{History, Layout, Note, RequestAction, UI};
|
||||
use MyPrayerJournal\Domain\{History, Note, RequestAction};
|
||||
use MyPrayerJournal\UI\{Layout, RelativeDate};
|
||||
|
||||
require '../../start.php';
|
||||
|
||||
@@ -27,7 +28,7 @@ Layout::pageHead('Full Request');?>
|
||||
<h6 class="card-subtitle text-muted mb-2"><?php
|
||||
if (!is_null($answered)) { ?>
|
||||
Answered <?=$answered->format('F j, Y')?>
|
||||
(<?=UI::formatDistance('now', $req->history[0]->asOf);?>) •<?php
|
||||
(<?= RelativeDate::between('now', $req->history[0]->asOf);?>) •<?php
|
||||
} ?>
|
||||
Prayed <?=number_format($prayed)?> times • Open <?=number_format($daysOpen)?> days
|
||||
</h6>
|
||||
|
||||
Reference in New Issue
Block a user