timepiece/README.md

12 lines
688 B
Markdown
Raw Normal View History

2024-05-14 19:24:13 +00:00
# Timepiece
2024-05-14 14:51:43 +00:00
2024-05-14 19:24:13 +00:00
Timepiece is a web component formatting the date and time (in UTC) in a structured and semi-decimal way.
2024-05-15 10:25:42 +00:00
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.
2024-05-14 19:24:13 +00:00
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.
2024-05-15 10:25:42 +00:00
So, here is a sample formatted date/time string: ⧖2024#37.26@434.24
2024-05-14 19:24:13 +00:00
And there you have it! William's Timepiece format.