A hobby project to better show my university timetable, and hopefully be extensible enough to apply elsewhere.
More documentation to come, but for now look at views/uts.json as an example.
Each member array is a <p>
line in a timetable event. Each component of that member is either a string constant or a function that returns a string, and is concatenated together to form the textContent
of each <p>
.
"_event.start"
: en-AU locale stringdd/mm/yyyy, hh:mm:ss pm
"_event.end"
: en-AU locale stringdd/mm/yyyy, hh:mm:ss pm
"_event.duration"
:0w0d0h0m0s
"_event.description"
: text"_event.location"
: text
--event-progress
: decimal values 0.0 to 1.0.
lib/ical.min.js
- Licensed under the MPL-2.0 License
- Source code available from https://github.com/mozilla-comm/ical.js
- Lexend
- Homepage: https://www.lexend.com/
- Google Fonts: https://fonts.google.com/specimen/Lexend