SOLVED Unable to parse string pendulum

PHOTO EMBED

Fri Sep 20 2024 17:17:06 GMT+0000 (Coordinated Universal Time)

Saved by @freepythoncode ##python #coding #python #programming #error

import pendulum

try:
    print(pendulum.parse('{:0>2}-{:0>2}-{:0>2}'.format(2024, 9, 21)))
except Exception as e:
    print(e)
content_copyCOPY