mirror of
https://github.com/GOSTSec/gostexplr
synced 2025-01-14 08:47:58 +00:00
Alwasy store block time in UTC
This commit is contained in:
parent
fbfd47f893
commit
12ccbafcf3
@ -171,7 +171,7 @@ async function syncNextBlock(syncedHeight) {
|
|||||||
}));
|
}));
|
||||||
block.hashrate = JSON.parse(res_blockhr)['result'];
|
block.hashrate = JSON.parse(res_blockhr)['result'];
|
||||||
|
|
||||||
block.time = moment(block.time*1000).format('YYYY-MM-DD HH:mm:ss');
|
block.time = moment(block.time*1000).utc().format('YYYY-MM-DD HH:mm:ss Z');
|
||||||
|
|
||||||
sync_sql = `
|
sync_sql = `
|
||||||
SET autocommit = 0;
|
SET autocommit = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user