use a better date format
This commit is contained in:
parent
e5e0b2d79c
commit
e76244b004
1 changed files with 1 additions and 1 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue