nervosnetwork / neuron

Neuron: Nervos CKB Wallet
https://www.nervos.org
MIT License
189 stars 82 forks source link

Export Dates Incorrect #2312

Closed DrakeBliss closed 1 year ago

DrakeBliss commented 2 years ago

When I export from the Nueron Wallet, the dats on some transactions is NOT the SAME??

Wallet Show 11/25 Export Shows 11/26

Also the export date has more than YYYY-MM-DD HH:MM:SS

For example 2021-11-26 04:01:30.340

What is the .340 above mean???

See Images below. Snap1 Snap2

Keith-CY commented 2 years ago

Hi @DrakeBliss The displaying time is using a local time format so that it can be recognized easily While the time in exported records is in UTC time format, which is more general in data operation since it excludes the effect of time zone.

If I were right, you should be in UTC-5 Timezone according to the screenshot, so the UTC time is 2021-11-26 04:01:30 while your local time is UTC time -5h, namely 2021-11-25 23:01:30

Here's an online converter and you can verify it https://www.timeanddate.com/worldclock/converter.html?iso=20211126T040100&p1=3919

BTW, the .340 is millisecond, it equals 0.34s