plone / guillotina

Python AsyncIO data API to manage billions of resources
https://guillotina.readthedocs.io/en/latest/
Other
187 stars 51 forks source link

Use pendulum if it's installed #978

Open masipcat opened 4 years ago

masipcat commented 4 years ago

Close https://github.com/plone/guillotina/issues/974 Sadly, I found we can't use it: https://github.com/sdispater/pendulum/issues/305

masipcat commented 4 years ago

This can't be merged right now because of this sdispater/pendulum#305 We could consider using https://github.com/closeio/ciso8601 instead of pendulum or just add a entry in the documentation explaining how to overwrite the default deserializer with another library.

Maybe we could add a configuration entry to especify the path of the datetime parser functions, so it can be customized.