Changeset 8194 for main/waeup.kofa/trunk/src/waeup/kofa/payments
- Timestamp:
- 17 Apr 2012, 11:40:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r8182 r8194 38 38 def __init__(self): 39 39 super(Payment, self).__init__() 40 try: 41 tz = getUtility(IKofaUtils).tzinfo 42 except: 43 #In unit tests KofaUtils is not available. 44 tz = None 45 self.creation_date = datetime.now(tz) 40 self.creation_date = datetime.utcnow() 46 41 self.p_id = None 47 42 return
Note: See TracChangeset for help on using the changeset viewer.