fix(gui): fix date displaing in torrent details

This commit is contained in:
Alexey Kasyanchuk 2018-03-12 16:13:37 +03:00
parent db8a8cbd36
commit 911c650dd3

View File

@ -121,7 +121,7 @@ const TorrentInformation = (props) => {
// leftAvatar={<Avatar icon={<EditorInsertChart />} backgroundColor={yellow600} />} // leftAvatar={<Avatar icon={<EditorInsertChart />} backgroundColor={yellow600} />}
rightIcon={<ActionInfo />} rightIcon={<ActionInfo />}
primaryText="Indexed/Added torrent date" primaryText="Indexed/Added torrent date"
secondaryText={moment(torrent.added).format('MMMM Do YYYY, h:mm:ss')} secondaryText={moment(torrent.added * 1000).format('MMMM Do YYYY, hh:mm')}
/> />
<ListItem <ListItem
// leftAvatar={<Avatar icon={<EditorInsertChart />} backgroundColor={yellow600} />} // leftAvatar={<Avatar icon={<EditorInsertChart />} backgroundColor={yellow600} />}