Go to file
2024-05-15 05:25:42 -05:00
public Update with repo url 2024-05-14 13:16:54 -05:00
src Update to format 2024-05-15 05:20:50 -05:00
.gitignore Update 2024-05-14 10:04:24 -05:00
LICENSE Initial commit 2024-05-14 14:51:43 +00:00
package-lock.json Update to remove Gulp and add readme 2024-05-14 14:24:13 -05:00
package.json Update to remove Gulp and add readme 2024-05-14 14:24:13 -05:00
README.md Update to describe format 2024-05-15 05:25:42 -05:00
rollup.config.mjs Initial code commit 2024-05-14 09:54:12 -05:00
tsconfig.json Initial code commit 2024-05-14 09:54:12 -05:00

Timepiece

Timepiece is a web component formatting the date and time (in UTC) in a structured and semi-decimal way.

First, the date. It is simple. after the hourglass and before @ sign is the date. The value before the hash is the year. The value after is the percent the current day is in the year.

Finally, the time. After the @ sign is the time expressed in a range from 0.00 to 1000.00 beats. A beat is defined as (3600 x the hour + 60 x the minute + the seconds) / 86.4. For the timepiece web component, fractional beats are allowed up to 1/100 of a beat.

So, here is a sample formatted date/time string: ⧖2024#37.26@434.24

And there you have it! William's Timepiece format.