経過時間のフォーマットを日から総日数に修正
This commit is contained in:
parent
eb6487c4cf
commit
1dbc573833
@ -44,7 +44,7 @@ SQL
|
|||||||
if (count($ejaculations) > 0) {
|
if (count($ejaculations) > 0) {
|
||||||
$currentSession = Carbon::parse($ejaculations[0]['ejaculated_date'])
|
$currentSession = Carbon::parse($ejaculations[0]['ejaculated_date'])
|
||||||
->diff(Carbon::now())
|
->diff(Carbon::now())
|
||||||
->format('%d日 %h時間 %i分');
|
->format('%a日 %h時間 %i分');
|
||||||
} else {
|
} else {
|
||||||
$currentSession = null;
|
$currentSession = null;
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ SQL
|
|||||||
if (count($ejaculations) > 0) {
|
if (count($ejaculations) > 0) {
|
||||||
$currentSession = Carbon::parse($ejaculations[0]['ejaculated_date'])
|
$currentSession = Carbon::parse($ejaculations[0]['ejaculated_date'])
|
||||||
->diff(Carbon::now())
|
->diff(Carbon::now())
|
||||||
->format('%d日 %h時間 %i分');
|
->format('%a日 %h時間 %i分');
|
||||||
} else {
|
} else {
|
||||||
$currentSession = null;
|
$currentSession = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user