[CalendarServer-changes] [7154] CalendarServer/branches/users/glyph/oracle/twistedcaldav/query/ calendarquery.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 7 19:08:02 PST 2011
Revision: 7154
http://trac.macosforge.org/projects/calendarserver/changeset/7154
Author: glyph at apple.com
Date: 2011-03-07 19:08:02 -0800 (Mon, 07 Mar 2011)
Log Message:
-----------
don't stringify timestamps; pass them through to the database as objects, so we don't run into formatting/parsing issues
Modified Paths:
--------------
CalendarServer/branches/users/glyph/oracle/twistedcaldav/query/calendarquery.py
Modified: CalendarServer/branches/users/glyph/oracle/twistedcaldav/query/calendarquery.py
===================================================================
--- CalendarServer/branches/users/glyph/oracle/twistedcaldav/query/calendarquery.py 2011-03-08 03:07:48 UTC (rev 7153)
+++ CalendarServer/branches/users/glyph/oracle/twistedcaldav/query/calendarquery.py 2011-03-08 03:08:02 UTC (rev 7154)
@@ -197,10 +197,10 @@
endfloat = floatoffset(end, tzinfo) if end else None
return (
- str(start) if start else None,
- str(end) if end else None,
- str(startfloat) if startfloat else None,
- str(endfloat) if endfloat else None,
+ (start) if start else None,
+ (end) if end else None,
+ (startfloat) if startfloat else None,
+ (endfloat) if endfloat else None,
)
def sqlcalendarquery(filter, calendarid=None, userid=None, generator=sqlgenerator.sqlgenerator):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110307/44d44c11/attachment.html>
More information about the calendarserver-changes
mailing list