Skip to content

Commit

Permalink
日時の表記
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed Jul 23, 2021
1 parent f31bc3f commit 4fb7576
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/renderer/MomentRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,10 @@ function renderTime(time: dayjs.Dayjs | undefined, now: dayjs.Dayjs): string {
return `さいきん!`;
} else if (b === 0) {
return `季節の歯車を${-a}回巻き戻したころ`;
} else if (a === 0) {
return `季節が${-b}つ巡るまえ`;
} else {
return `季節の歯車を${-a}回巻き戻して、さらに季節を${-b}つ遡ったころ`;
return `季節の歯車を${-a}回巻き戻して、さらに季節が${-b}つ巡るまえ`;
}
}

Expand Down

0 comments on commit 4fb7576

Please sign in to comment.