Ticket #13560: localized_splitdatetimefield.patch

File localized_splitdatetimefield.patch, 398 bytes (added by David Danier <david.danier@…>, 15 years ago)
  • fields.

    old new  
    849849        )
    850850        super(SplitDateTimeField, self).__init__(fields, *args, **kwargs)
    851851
     852    def localize_value(self, value):
     853        return value
     854
    852855    def compress(self, data_list):
    853856        if data_list:
    854857            # Raise a validation error if time or date is empty
Back to Top