accept + in URL for timezones
This commit is contained in:
parent
6d718755c5
commit
73d5dd5eab
1 changed files with 2 additions and 1 deletions
|
@ -110,9 +110,10 @@ class EventResource(BaseEvent):
|
|||
|
||||
|
||||
def relative_time(self, when, cur):
|
||||
when = when.upper().replace(' ','+')
|
||||
event_start = cur.mogrify("%s",(when,)).decode("utf-8")
|
||||
event_stop = cur.mogrify("%s",(when,)).decode("utf-8")
|
||||
when = when.upper()
|
||||
|
||||
if when == 'NOW':
|
||||
event_start = "now()"
|
||||
event_stop = "now()"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue