fix string comparison

This commit is contained in:
Antoine 2024-12-04 13:50:08 +01:00
parent 31310f9d5f
commit 16105b8bc3

View file

@ -19,7 +19,7 @@ find_unticked_checkboxes() {
# Function to add aoc checkbox if it's December before the 24th
add_aoc_checkbox() {
if [[ "$month" -eq "12" && "$day" -lt "25" ]]; then
if [[ "$month" == "12" && "$day" -lt "25" ]]; then
echo "- [ ] Advent of Code"
fi
}