r/csshelp • • Jul 20 '21

Request /r/Olympics mod here: we could really use a clock displaying the current date and time in Tokyo. Does anybody know how to do that? (We could also use someone to post an Olympic picture of the day in the sidebar, if anybody's interested in something more longterm.)

7 Upvotes

3 comments sorted by

1

u/mayaswelltrythis Jul 20 '21

You can't do this with CSS. You need JavaScript.

0

u/[deleted] Jul 20 '21

[deleted]

1

u/IvyGold Jul 20 '21

No, more of a real time clock. The events are scheduled according to local time, so I'd like to have a clock showing what time it is there. It can extra confusing for Europeans and Americans both North and South because of the date line: when it's 6pm in NYC it's 7am the next day Tokyo.

1

u/TravelerHD Jul 20 '21

I'm not sure a real-time clock is possible. I'm thinking Glass-Paramedic is right; the best you can probably do is add a bot that changes the content every 10 minutes or so.

/r/DestinyTheGame has a countdown clock for reset times in the game, although it isn't a live countdown. Maybe you can check their stylesheet for ideas, or message them via modmail. They may not have the free time to help but the one time I messaged them they were pretty polite (funny enough what I messaged them for was the sidebar clock being broken).