Topic: e621 updater - tag local files!

TonyCoon

Former Staff

Keito said:
To be honest, i have no idea how date works in JSON.
I mean, as an example:
"created_at":{"n":236133000,"s":1445010595,"json_class":"Time"}
How does this translates into 2015-10-16 is a mystery.
If i'll have some spare time to make this work, i will. Otherwise you'll have to live with year tags in "tags".
I can copy year (only) from "tags" to the "date" if you want.

created_at.s is what's called a Unix timestamp and is a simple integer representation of the time (number of seconds since January 1, 1970). Almost every programming language on earth has a function to convert it to any date format you need. Just Google "<language name> timestamp to date".

Updated by anonymous