Update to describe format

This commit is contained in:
William Moore 2024-05-15 05:25:42 -05:00
parent d5375e4bd1
commit 53ac83244a

View File

@ -2,8 +2,10 @@
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 decimal is the year. The value after is the percent the current day is in the year.
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.