use a better date format

This commit is contained in:
btzr-io 2017-09-01 22:52:51 -06:00
parent e5e0b2d79c
commit e76244b004

View file

@ -160,7 +160,7 @@ export function doFetchPublishedDate(height) {
return function(dispatch, getState) {
lbry.block_show({ height }).then(block => {
const relativeTime = new Date(block.time * 1000).toLocaleDateString();
const relativeTime = new Date(block.time * 1000).toLocaleString();
dispatch({
type: types.FETCH_DATE,
data: { time: relativeTime },