updates to structure
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
def calculate_reach_date(current_hours, max_hours, hours_added_bi_weekly):
|
||||
@@ -40,4 +42,4 @@ reach_date = calculate_reach_date(current_hours, MAX_HOURS, HOURS_ADDED_BI_WEEKL
|
||||
|
||||
# Output
|
||||
print(f"Current date: {datetime.now().strftime('%Y-%m-%d')}")
|
||||
print(f"You will reach the maximum hours on: {reach_date.strftime('%Y-%m-%d')}")
|
||||
print(f"You will reach the maximum hours on: {reach_date.strftime('%Y-%m-%d')}")
|
||||
|
||||
Reference in New Issue
Block a user