Ignore:
Timestamp:
8 Jul 2012, 14:40:59 (13 years ago)
Author:
Henrik Bettermann
Message:

creation_date is not required.

Strip hash symbol also of datetime strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/widgets/datetimewidget.py

    r8207 r8944  
    6666
    6767        """
     68        # In import files we can use the hash symbol at the end of a
     69        # datetime and date strings to avoid annoying automatic date
     70        # transformation by Excel or Calc.
     71        string = string.strip('#')
    6872        if string == self._missing:
    6973            return self.context.missing_value
Note: See TracChangeset for help on using the changeset viewer.