LazyDate better return date than datetime
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
We have model has a DateField called expire_date which set default to LazyDate(days=60), it works well in firefox, but under safari and IE it shows error when we save that object, because LazyDate.get_value method return datetime object, wich make the validation fails, I think it is better to return date object, which will be useful both to DateField and DateTimeField.