Skip to content

Commit

Permalink
nexus3
Browse files Browse the repository at this point in the history
  • Loading branch information
garland committed Aug 15, 2024
1 parent dd2e3b7 commit 7d15223
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ 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.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')
Expand Down

0 comments on commit 7d15223

Please sign in to comment.