eos_zmq_plugin icon indicating copy to clipboard operation
eos_zmq_plugin copied to clipboard

Difference in the representation of DateTime

Open ghost opened this issue 6 years ago • 1 comments

Hello,

is seems that there is a time delta between the exported data and some public block explorers. Not sure about the reason, here just some samples:

"global_action_seq":3931466331,"block_num":36780895,"block_time":"2019-01-11T00:00:00.000"

vs

https://eosq.app/block/02313b5f77331e7ff9a7922de6cd57d3a4546b7802feb71252f87284d6b74b0b

"global_action_seq":512483630,"block_num":19735231,"block_time":"2018-10-04T00:00:00.000"

vs

https://eosq.app/block/012d22bf02e7f35fe6810e33f9becb1dfcb10f6500c957176a6536599c28acb8

The delta is always full hour(s). In the above samples either one or two hours. Maybe some timezones issues in the plugin? Or the public block explorers are wrong?

Regards, jj

ghost avatar Mar 07 '19 15:03 ghost

.. I think I know the reason - the block explorers are automatically converting the timestamps to my timezone (browser settings). This is confusing. EOS blockchain is UTC! You can close that ticket. Thank you.

ramtej avatar Mar 07 '19 16:03 ramtej