diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-02-21 18:45:07 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-02-21 18:45:07 -0500 |
| commit | a504b63dfaa23ac6ba420942f71d859630c03e0e (patch) | |
| tree | 9dff1f05c408fabfa5da7dcbfc5b901f14706af9 /scripts/days2finals.py | |
| parent | c82d20316320d8584f0a9fa1218f0e73d1fc4530 (diff) | |
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
Diffstat (limited to 'scripts/days2finals.py')
| -rwxr-xr-x | scripts/days2finals.py | 23 |
1 files changed, 0 insertions, 23 deletions
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)
|
