Project

Profile

Help

« Previous | Next » 

Revision 9f0c6ecb

Added by dkliban@redhat.com over 5 years ago

Adds validation to the UTCDateTimeField for mongoengine

Due to a bug in datetime utils, we can't rely on mongonegine to convert a string representation of a timestamp with timezone represented as Z on end. As a result we now require the date to be supplied as a datetime object with tzinfo set.

https://pulp.plan.io/issues/1565 closes #1565