Changeset 8951 for main


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

Timestanp for p_id in tenth of milliseconds.

File:
1 edited

Legend:

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

    r8820 r8951  
    305305                  return _('This type of payment has already been made.'), None
    306306        payment = createObject(u'waeup.StudentOnlinePayment')
    307         timestamp = "%d" % int(time()*1000)
     307        timestamp = ("%d" % int(time()*10000))[1:]
    308308        payment.p_id = "p%s" % timestamp
    309309        payment.p_category = category
Note: See TracChangeset for help on using the changeset viewer.