From a504b63dfaa23ac6ba420942f71d859630c03e0e Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 21 Feb 2026 18:45:07 -0500 Subject: refactor!: Unused Programs Removed Multiple unused programs have be removed. These programs were unmaintained, no longer functioning, and/or had no purpose anymore. BREAKING CHANGE: Multiple scripts removed --- scripts/days2finals.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 scripts/days2finals.py (limited to 'scripts/days2finals.py') diff --git a/scripts/days2finals.py b/scripts/days2finals.py deleted file mode 100755 index 2111af6..0000000 --- a/scripts/days2finals.py +++ /dev/null @@ -1,23 +0,0 @@ -import datetime -now = datetime.datetime.now() - -finalsDate = datetime.datetime(2023, 5, 1, 0, 0, 0, 0) -breakDate = datetime.datetime(2023, 3, 3, 15, 0, 0, 0) -def getDays(date, name): - daysLeft = date - now - - weeks = daysLeft.days // 7 - days = daysLeft.days % 7 - minutes = daysLeft.seconds // 60 - hours = minutes // 60 - minutes %= 60 - - if (weeks < 0): - return f"{name.upper()} WEEK" - return f"{weeks} weeks {days} days and {hours} hours until {name} week" - -output = f"{getDays(finalsDate, 'finals')}" -#output += f"{getDays(breakDate, 'break')}" - - -print(output) -- cgit v1.2.3