diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-23 15:58:39 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-23 15:58:39 +0100 |
commit | 1164e3410e94709f1e355c5be65d3b117e2d6b2d (patch) | |
tree | 7e6da0283fa3360282558bb44f0a79caa2e43141 /webui/src | |
parent | f87d63b3c656f6efba3c62c121f66e513ca3efea (diff) | |
download | git-bug-1164e3410e94709f1e355c5be65d3b117e2d6b2d.tar.gz |
webui: fix bad formatting on Date
Diffstat (limited to 'webui/src')
-rw-r--r-- | webui/src/components/Date.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webui/src/components/Date.tsx b/webui/src/components/Date.tsx index 146a3496..f9e0a0b2 100644 --- a/webui/src/components/Date.tsx +++ b/webui/src/components/Date.tsx @@ -11,9 +11,7 @@ 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> + <Moment date={date} format="on ll" fromNowDuring={WEEK} /> </Tooltip> ); |