Changeset 8950


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

Timestanp for p_id in tenth of milliseconds.

File:
1 edited

Legend:

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

    r8821 r8950  
    118118                  return _('This type of payment has already been made.'), None
    119119        payment = createObject(u'waeup.StudentOnlinePayment')
    120         timestamp = "%d" % int(time()*1000)
     120        timestamp = ("%d" % int(time()*10000))[1:]
    121121        payment.p_id = "p%s" % timestamp
    122122        payment.p_category = category
Note: See TracChangeset for help on using the changeset viewer.