~ruther/simple-clock

ref: 86dd835a2a06b72ed83fb15ad12dc4f54905ca93 simple-clock/source/src/calendar.rs -rw-r--r-- 7.8 KiB
86dd835a — František Boháček 1 year, 10 months ago
feat(src): implement Calendar::from_ticks for arbitrary year, add Calendar::to_ticks

So far, Calendar::from_ticks could not correctly parse
other month than the base month, this commit fixes that.

Calendar::to_ticks may convert any Calendar date to seconds passed from
the base year. The base year is remembered in Calendar instance.
9a82d5ee — František Boháček 1 year, 10 months ago
chore(src): move source to source/ folder
d9c5680c — František Boháček 1 year, 10 months ago
feat(src): add app state with calendar
Do not follow this link