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,
|
'title': self.event.title,
|
||||||
'event_slug': self.event.slug,
|
'event_slug': self.event.slug,
|
||||||
'abstract': abstract,
|
'abstract': abstract,
|
||||||
'from': self.when.lower.isoformat(),
|
'from': self.when.lower.astimezone().isoformat(),
|
||||||
'to': self.when.upper.isoformat(),
|
'to': self.when.upper.astimezone().isoformat(),
|
||||||
'url': str(self.event.get_absolute_url()),
|
'url': str(self.event.get_absolute_url()),
|
||||||
'id': self.id,
|
'id': self.id,
|
||||||
'speakers': [
|
'speakers': [
|
||||||
|
|
Loading…
Reference in a new issue