Skip to content

Commit

Permalink
Merge pull request #23 from ManagedKube/nexus3
Browse files Browse the repository at this point in the history
nexus3
  • Loading branch information
sekka1 authored Aug 16, 2024
2 parents 9d5cb4b + 2213132 commit b7cc0b2
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,18 @@ def _get_schedule(self, location_id: int) -> None:

## GarDebug
foo = datetime.strptime(appointment["startTimestamp"], "%Y-%m-%dT%H:%M").isoformat()
print(f"GarDebug: the appointment datetime stamp foo: {foo}")

datetime_obj = datetime.strptime(appointment["startTimestamp"], "%Y-%m-%dT%H:%M:%S")
formatted_string = datetime_obj.strftime("%A, %B %d, %H:%M")
print(f"GarDebug: the appointment datetime stamp formatted_string: {formatted_string}")


date_string1 = datetime.strftime(appointment["startTimestamp"], '%a, %B %d, %Y')
print(f"GarDebug: the appointment datetime stamp date_string1: {date_string1}")
date_string2 = datetime.strftime(appointment.appointment_date, '%a, %B %d, %Y')
print(f"GarDebug: the appointment datetime stamp: {foo} | {date_string1} | {date_string2}")
# sys.exit()
print(f"GarDebug: the appointment datetime stamp date_string2: {date_string2}")
sys.exit()

all_active_appointments.append(datetime.strptime(appointment["startTimestamp"], "%Y-%m-%dT%H:%M").isoformat())

Expand Down

0 comments on commit b7cc0b2

Please sign in to comment.