athomas  committed 892cd93

[svn r2857] Fixed #2269, thanks mayer.

  • Participants
  • Parent commits ecd1d3f
  • Branches xmlrpcplugin

Comments (0)

Files changed (1)

File trunk/tracrpc/

 import trac.ticket.query as query
 from trac.ticket.api import TicketSystem
 from trac.ticket.notification import TicketNotifyEmail
+from trac.util.datefmt import utc
-import time
+from datetime import datetime
 import inspect
 import xmlrpclib
 from StringIO import StringIO
     def update(self, req, id, comment, attributes = {}, notify=False):
         """ Update a ticket, returning the new ticket in the same form as getTicket(). """
-        now = time.time()
+        now =
         t = model.Ticket(self.env, id)
         for k, v in attributes.iteritems():