1
0
Fork
You've already forked ontime.lol
0
A small clock to show and do math with date-times and durations https://ontime.lol
  • TypeScript 99.4%
  • HTML 0.3%
  • CSS 0.3%
2025年12月27日 16:44:24 -08:00
public Initial commit 2025年12月10日 22:08:32 -08:00
src Fix "Time since Unix epoch" example 2025年12月27日 16:44:24 -08:00
.editorconfig Add EditorConfig 2025年12月11日 02:08:05 -08:00
.gitignore Initial commit 2025年12月10日 22:08:32 -08:00
brioche.lock Add basic project.bri for development 2025年12月10日 22:11:56 -08:00
index.html Add dark mode support 2025年12月21日 00:00:14 -08:00
LICENSE.md Add MIT license 2025年12月27日 04:54:51 -08:00
package-lock.json Parse and evaluate expressions 2025年12月27日 04:54:51 -08:00
package.json Parse and evaluate expressions 2025年12月27日 04:54:51 -08:00
project.bri Add bundle and bundleTar exports to Brioche project 2025年12月27日 04:54:51 -08:00
README.md Add README 2025年12月27日 04:54:51 -08:00
tsconfig.app.json Adjust TSConfig settings 2025年12月11日 02:37:21 -08:00
tsconfig.json Initial commit 2025年12月10日 22:08:32 -08:00
tsconfig.node.json Initial commit 2025年12月10日 22:08:32 -08:00
vite.config.ts Add Tailwind 2025年12月10日 22:21:50 -08:00

ontime.lol

A small web app (https://ontime.lol) to show the current time in different timezones, and for doing date-time math. Heavily based around the JavaScript Temporal API.

How to use it

The main site is hosted at https://ontime.lol. It'll show you the current time in your system's timezone and in UTC (or you can customize the list of timezones, too).

There's also an input field, which lets you write a bunch of different expressions for parsing timezones or doing timezone math. A few quick examples:

(Click the "About" button for a full breakdown of the expression language)

Development

This was my first foray into SolidJS. Also set up with a rudimentary Brioche-based dev environment, here's how you can give it a spin:

brioche run -- npm install # Install NPM packages
brioche run -- npm run dev # Run dev server