Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko259 committed Jan 27, 2025
1 parent 42d4e9b commit 5f1c675
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions helpers/staffing_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,6 @@ async def _geteventdate(self, title, interval = 1):
formatted_start_time = datetime.strptime(str(formatted_start_time), "%H:%M") if formatted_start_time else None
end_time = datetime.strptime(str(end_time), "%H:%M") if end_time else None

print(new_date)
print(formatted_start_time)
print(end_time)
print(current)

return new_date, formatted_start_time, end_time, current

async def _updatemessage(self, id):
Expand Down Expand Up @@ -403,6 +398,10 @@ async def _updatemessage(self, id):
date = dates[3] if dates[3] else dates[0]
formatted_date = date.strftime("%A %d/%m/%Y") if date else "Unknown Date"

print(start_time)
print(end_time)
print(formatted_date)

format_staffing_message = f'{title} staffing - {formatted_date} {start_time} - {end_time}z\n\n{description}'

section_positions = {
Expand Down

0 comments on commit 5f1c675

Please sign in to comment.