Hello,
Some responses from the API (
For example:
Requesting
Thanks for any assistance that is able to be provided.
Some responses from the API (
https://api.modpacks.ch/public/modpack/{id}
in this case) have timestamps in it (like the updated
property), but the timestamps are not formatted in direct Unix Epoch time; So I'm wondering what the FTB API considers as it's 0 timestamp so that I can correctly read the timestamps that are returned, or how to get the correct datetime from that number.For example:
Requesting
GET https://api.modpacks.ch/public/modpack/1
returns an object with the updated property set to 1585685146
(at the time of writing this) and when making this a Javascript Date object it turns into the datetime 1970-01-19T08:28:05.146Z
.Thanks for any assistance that is able to be provided.
Last edited: