Oh no! Sorry you don’t remember your first
! ![]()
If anyone wants to find out what their first burn was (and you have WKOF installed) you can paste this piece of code into the console to find out
wkof.include('ItemData')
wkof.ready('ItemData').then(()=>{
wkof.ItemData.get_items('assignments').then((data)=>{
var first = {assignments: {burned_at: "3019-10-07"}};
for (var i=0; i<data.length; i++) {
var item = data[i];
var ass = item.assignments;
if (ass && Date.parse(ass.burned_at) < Date.parse(first.assignments.burned_at)) {
first = item;
}
}
console.log("Your first burn was \"" + (first.data.characters || first.data.slug) + "\" at", first.assignments.burned_at);
});
});
Was the 3019 intentional? (If you’re from the future, please note we call this year 2019.)
Yes, it is just a placeholder until the first variable is populated with real data. I set it to 3019 so that any other burned item would have a burned date earlier than that.
Although if you don’t have any burns it will say “Your first burn was null at 3019-10-07”. Actually, no, it will just throw an error, nvm.
Got it. Just don’t forget that this code may not work for users where their first burn was October 7, 3019 or later.
Why do I suddenly have sweaty palms and headaches and why am I having flashbacks of December 31st, 1999? ![]()