app/soc/views/models/comment.py
changeset 1890 a8a5da24212c
parent 1769 7596a1d31723
child 2076 1cd180cc56c9
--- a/app/soc/views/models/comment.py	Mon Mar 16 15:33:27 2009 +0000
+++ b/app/soc/views/models/comment.py	Mon Mar 16 16:27:21 2009 +0000
@@ -130,7 +130,7 @@
 
     if not entity:
       fields['author'] = user
-      fields['link_id'] = 't%i' % (time.time())
+      fields['link_id'] = 't%i' %(int(time.time()*100))
     else:
       fields['author'] = entity.author
       fields['link_id'] = entity.link_id