Ignore:
Timestamp:
20 Apr 2012, 11:27:59 (13 years ago)
Author:
Henrik Bettermann
Message:

Show only time zone name.

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  
    210210            bedticket.bed = None
    211211            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")
    213213            bedticket.bed_coordinates = u'-- booking cancelled on %s --' % (
    214214                timestamp,)
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/tests.py

    r8186 r8234  
    284284          self.browser.contents)
    285285        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 --')
    287287        # If we release a free be, nothing will happen
    288288        ctrl = self.browser.getControl(name='val_id')
Note: See TracChangeset for help on using the changeset viewer.