Commit Graph

4 Commits

Author SHA1 Message Date
Mattia Mascarello 115643f928 Added TODO 2024-05-16 11:50:16 +02:00
Mattia Mascarello d8aaacf868
Emojified readme 2024-05-16 11:44:17 +02:00
Mattia Mascarello 133f789c64 refactor: sort birthdays by remaining time until next birthday
This commit refactors the `list_birthday` function in `main.py` to sort the birthdays by the remaining time until the next birthday. It introduces a new helper function `sort_close` that calculates the remaining time until the next birthday for each birthday in the list. The birthdays are then sorted based on this calculated value.
2024-05-16 11:30:42 +02:00
Mattia Mascarello d08713c359 First Commit 2024-05-16 00:35:28 +02:00