~ruther/simple-clock

ref: 4b0ed457dbadccfd85bb2efcdb87d12500642803 simple-clock/source/src d---------
4b0ed457 — František Boháček 2 years ago
tests(src): add tests for calendar tick functions
86dd835a — František Boháček 2 years 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.
7a215041 — František Boháček 2 years ago
chore(src): format with fmt
e2a425e4 — František Boháček 2 years ago
feat(src): split main into multiple functions
acab128c — František Boháček 2 years ago
fix(src): remove unnecessary import
9a82d5ee — František Boháček 2 years ago
chore(src): move source to source/ folder