Changeset 8952 for main


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

Timestanp for p_id in tenth of milliseconds.

File:
1 edited

Legend:

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

    r8833 r8952  
    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.