Changeset 8954 for main


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

Timestanp for p_id in tenth of milliseconds.

File:
1 edited

Legend:

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

    r8823 r8954  
    144144                  return _('This type of payment has already been made.'), None
    145145        payment = createObject(u'waeup.StudentOnlinePayment')
    146         timestamp = "%d" % int(time()*1000)
     146        timestamp = ("%d" % int(time()*10000))[1:]
    147147        payment.p_id = "p%s" % timestamp
    148148        payment.p_category = category
Note: See TracChangeset for help on using the changeset viewer.