You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to have an option to bypass this requirement ?
I wanted to use this class to handle log parsing in a project where I just needed the date "as is" and couldn't because of this.
We could try different parsing methods (strptime, or even datetime.fromisoformat() when there is no tz info). Another option would be to use https://dateutil.readthedocs.io/en/stable/ but that would pull a dependency (the first, IIRC).
@blogh, if you need something to be changed in some way, feel free to submit a patch.
Hi,
pgtoolkit/pgtoolkit/log/parser.py
Line 128 in 249034a
Would it be possible to have an option to bypass this requirement ?
I wanted to use this class to handle log parsing in a project where I just needed the date "as is" and couldn't because of this.