antihax / goesi

Go client for EVE Online ESI and SSO using versioned endpoints
MIT License
80 stars 13 forks source link

Add ParseTime to Helpers #16

Closed dedo1911 closed 3 years ago

dedo1911 commented 3 years ago

ParseTime allows to read notification times in a manageable format. (Source: https://stackoverflow.com/questions/57901280/calculate-time-time-from-timestamp-starting-from-1601-01-01-in-go)

ESI timestamp format sometimes is an int64 (like: 132656184613915270, which is 2021-05-16 06:01:01.391527 +0000 UTC), this methods allows to use this timestamp in our applications more easily.