Changeset 8953


Ignore:
Timestamp:
9 Jul 2012, 10:45:16 (12 years ago)
Author:
Henrik Bettermann
Message:

Timestanp for p_id in tenth of milliseconds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r8834 r8953  
    111111                  return _('This type of payment has already been made.'), None
    112112        payment = createObject(u'waeup.StudentOnlinePayment')
    113         timestamp = "%d" % int(time()*1000)
     113        timestamp = ("%d" % int(time()*10000))[1:]
    114114        payment.p_id = "p%s" % timestamp
    115115        payment.p_category = category
Note: See TracChangeset for help on using the changeset viewer.