Output event instance datatimes as timezone.
This commit is contained in:
parent
c313397def
commit
65a085b3ab
|
@ -471,8 +471,8 @@ class EventInstance(CampRelatedModel):
|
|||
'title': self.event.title,
|
||||
'event_slug': self.event.slug,
|
||||
'abstract': abstract,
|
||||
'from': self.when.lower.isoformat(),
|
||||
'to': self.when.upper.isoformat(),
|
||||
'from': self.when.lower.astimezone().isoformat(),
|
||||
'to': self.when.upper.astimezone().isoformat(),
|
||||
'url': str(self.event.get_absolute_url()),
|
||||
'id': self.id,
|
||||
'speakers': [
|
||||
|
|
Loading…
Reference in a new issue