diff options
Diffstat (limited to 'webui/src/components')
-rw-r--r-- | webui/src/components/Date.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/src/components/Date.tsx b/webui/src/components/Date.tsx index 8438b801..146a3496 100644 --- a/webui/src/components/Date.tsx +++ b/webui/src/components/Date.tsx @@ -11,7 +11,9 @@ const WEEK = 7 * DAY; type Props = { date: string }; const Date = ({ date }: Props) => ( <Tooltip title={moment(date).format('LLLL')}> - <span>on <Moment date={date} format='ll' fromNowDuring={WEEK} /></span> + <span> + on <Moment date={date} format="ll" fromNowDuring={WEEK} /> + </span> </Tooltip> ); |