Javascript upgrades on world2ch

MachDiamond

There are a handful of upgrades that could be made to the world2ch experience using JS. The most obvious one is an auto-update option for the boards, but I just thought of another one.

Post dates should be localized to the user. On top of localizing post dates, I think we should also have a Unix timestamp -> local timestamp system on all boards. The way we could implement this is by using a tag on all of the site time stamps.
Users could add their own timestamps in-post by using something that resembles <ts:(UNIX TIMESTAMP)>. This would then be converted into a stamp that, by default, is localized to the server's time, which then can be picked up by the JS. This provides users the option to add time stamps that should remain relevant to every user seeing the post. A good example of a place where this would be very useful is in the watchparty threads, since we already post the Unix timestamp as is.
Though I'd settle with JUST the date and time getting localized, I'd also like to include things like "in X minutes" or various other styles of displays. We can add an additional field (IE: <ts:(UNIX TIMESTAMP):(BEHAVIOR)>, so we can say, <ts:0:c> for a count of how many minutes since January 1st, 1970 12:00 AM GMT) to provide this flexibility to the user. The behavioral information can be stored in a data-* attribute in the time tag.

If you'd like, I can write the JavaScript required to localize the stamps, and implementing the timestamp behavior on the oekaki and the imageboard, but the backend work for Kareha will have to be left to you.