概況欄の時間表記が狂っていたため、フォーマットの担当をDBからPHPに移した

This commit is contained in:
shibafu
2017-09-09 02:10:51 +09:00
parent be2cf3328a
commit 12d06dc88b
8 changed files with 82 additions and 18 deletions

View File

@@ -39,10 +39,10 @@
@if (isset($summary) && $summary[0]->total_checkins > 0)
<hr>
<p class="valign-wrapper"><i class="material-icons">assessment</i><b>概況</b></p>
<p>平均記録: {{ $summary[0]->average }}</p>
<p>最長記録: {{ $summary[0]->longest }}</p>
<p>最短記録: {{ $summary[0]->shortest }}</p>
<p>合計時間: {{ $summary[0]->total_times }}</p>
<p>平均記録: {{ Formatter::formatInterval($summary[0]->average) }}</p>
<p>最長記録: {{ Formatter::formatInterval($summary[0]->longest) }}</p>
<p>最短記録: {{ Formatter::formatInterval($summary[0]->shortest) }}</p>
<p>合計時間: {{ Formatter::formatInterval($summary[0]->total_times) }}</p>
<p>通算回数: {{ $summary[0]->total_checkins }}</p>
@endif
</div>