Changeset 7515 for main/waeup.sirp/trunk/src/waeup/sirp/widgets
- Timestamp:
- 26 Jan 2012, 08:59:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/widgets/datewidget.py
r7196 r7515 39 39 else: 40 40 try: 41 # In import files we can use the hash symbol at the end of a 42 # date string to avoid annoying automatic date transformation 43 # by Excel or Calc 44 input = input.strip('#') 41 45 value = datetime.strptime(input, self.date_format) 42 46 except (ValueError, IndexError), v:
Note: See TracChangeset for help on using the changeset viewer.