Open jeanconn opened 9 years ago
:+1:
It is scary that this meaningless comparison gives a result.
Yes, support or an error would be great
Some variation on:
def __ge__(self, other):
if not isinstance(other, DateTime):
other = DateTime(other)
return self - other >= 0
It would perhaps be safer if full comparison operators were supported without explicitly casting to a type.