Ticket #13560: localized_splitdatetimefield.patch
File localized_splitdatetimefield.patch, 398 bytes (added by , 15 years ago) |
---|
-
fields.
old new 849 849 ) 850 850 super(SplitDateTimeField, self).__init__(fields, *args, **kwargs) 851 851 852 def localize_value(self, value): 853 return value 854 852 855 def compress(self, data_list): 853 856 if data_list: 854 857 # Raise a validation error if time or date is empty