Javascript upgrades on world2ch (4)

1 Name: MachDiamond : 2026/05/31 09:27

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 <time> 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 <time> 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 <time> 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.

This thread should be used to house other suggestions for optional world2ch JS additions. Please note that the end goal is for the site to remain completely usable without JavaScript being enabled.

2 Name: Nameless : 2026/05/31 10:22

I wish I could read this but I've been awake for a solid 20 hours

3 Name: Nameless : 2026/06/01 07:21

Maybe an option could be left in the kareha format options to enter a timestamp

4 Name: Nameless : 2026/06/01 13:11

## Unfortunate Discovery

  • The table that holds thread and post data for the imageboard has a date field of type text (instead of datetime or timestamp).
  • The field contains dates formatted like: "26/05/29(Fri)13:52".

(This is for wakaba.pl. I don't know how kareha.pl does things.)

Name: E-Mail:
Leave these fields empty (spam trap):
More options...
Verification: