1
0
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:
R4SAS 2019-08-18 23:17:49 +00:00 committed by R4SAS
parent fbfd47f893
commit 12ccbafcf3

View File

@ -171,7 +171,7 @@ async function syncNextBlock(syncedHeight) {
}));
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 = `
SET autocommit = 0;