Changeset 8234 for main/waeup.kofa/trunk/src/waeup/kofa/hostels
- Timestamp:
- 20 Apr 2012, 11:27:59 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/hostels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py
r8186 r8234 210 210 bedticket.bed = None 211 211 tz = getUtility(IKofaUtils).tzinfo 212 timestamp = now(tz).strftime("%Y-%m-%d %H:%M:%S % z %Z")212 timestamp = now(tz).strftime("%Y-%m-%d %H:%M:%S %Z") 213 213 bedticket.bed_coordinates = u'-- booking cancelled on %s --' % ( 214 214 timestamp,) -
main/waeup.kofa/trunk/src/waeup/kofa/hostels/tests.py
r8186 r8234 284 284 self.browser.contents) 285 285 self.assertMatches(bedticket.bed_coordinates, 286 u' -- booking cancelled on <YYYY-MM-DD hh:mm:ss TZ>--')286 u' -- booking cancelled on <YYYY-MM-DD hh:mm:ss> UTC --') 287 287 # If we release a free be, nothing will happen 288 288 ctrl = self.browser.getControl(name='val_id')
Note: See TracChangeset for help on using the changeset viewer.