settings
code:style.css
display: none;
}
display: none;
}
.deco-\! {
}
code:script.js
scrapbox.TimeStamp.addFormat(']MM-DD-YY[')
scrapbox.TimeStamp.addFormat('HH:mm')
scrapbox.TimeStamp.addFormat(']MM-DD-YY[ HH:mm')
const date = new Date()
const thismonth = ((date.getMonth() + 1).toString()).slice(-2)
const thisyear = (date.getFullYear()).toString().slice(-2)
const fyear = (date.getFullYear()).toString()
scrapbox.TimeStamp.addFormat(() => <[+thismonth +-+ ("0"+(date.getDate() - 1).toString()).slice(-2) +-+ thisyear + ] + [+thismonth + - + fyear+] + [ + thismonth +-+ ("0"+(date.getDate() + 1).toString()).slice(-2) + -+ thisyear + ]>)