- Timestamp:
- 10 Sep 2012, 11:05:07 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-async-update
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-async-update
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/widgets/datetimewidget.py
r8207 r9169 66 66 67 67 """ 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('#') 68 72 if string == self._missing: 69 73 return self.context.missing_value -
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/widgets/phonewidget.py
r8169 r9169 112 112 For the extension line we silently allow slashes as well. 113 113 """ 114 # In import files we can use the hash symbol at the end of a 115 # date string to avoid annoying automatic number transformation 116 # by Excel or Calc 117 input = input.strip('#') 114 118 result = super(PhoneWidget, self)._toFieldValue(input) 115 119 parts = input.split('-', 2)
Note: See TracChangeset for help on using the changeset viewer.