Michael Overmeyer

Results 72 comments of Michael Overmeyer

I've run into this same issue when I wanted to check for the existence of a key in a config: My config has a list of objects with a given...

@sanzinger, this is your code. Perhaps you could help out with this one?

cc @darthbear

Thanks for the suggestion! Do you have a need for this in your usage? Or is this request mostly to help make `ciso8601` a complete ISO 8601 parser? If you...

Thanks! Yes, I've been looking into `datetime.fromisoformat` intensely. In cPython, it is actually implemented [both in Python](https://github.com/python/cpython/blob/08c1da71030e0d6019b3493e0ffaf060a6aa5d8e/Lib/datetime.py#L1628) and [in C](https://github.com/python/cpython/blob/08c1da71030e0d6019b3493e0ffaf060a6aa5d8e/Modules/_datetimemodule.c#L4828) and the C version is faster than any other method...

@qidanrui Disclaimers: * I haven't looked at the `pendulum` code in some time, so I might be forgetting things * Unlike `pendulum`, `ciso8601` implements only the [most common subset](https://github.com/closeio/ciso8601#supported-subset-of-iso-8601) of...

This actually *was* a valid ISO 8601 datetime. Prior to `ISO 8601-1:2019`, `24:00` was a valid time in ISO 8601. However, as of `ISO 8601-1:2019`, it has been explicitly disallowed....

@geospatial-jeff Unfortunately, I don't have the permissions I need to be able to do a release. Only @thomasst has those, and so only they can help you out.

### Summary I'm not against the idea of returning `None` (after the user applies some flag/setting): assuming that it can be shown to speed things up. ### What is your...

> In my case, I would need to return a date object if it is a valid date or return the same object if it can not be parsed. Please...