datetime handled by ox.django now, set default posterframe

This commit is contained in:
j 2011-02-25 12:22:44 +01:00
commit 89bb10b719
4 changed files with 12 additions and 48 deletions

View file

@ -108,8 +108,8 @@ class Annotation(models.Model):
'in': self.start,
'out': self.end,
'value': self.value,
'created': self.created.strftime('%Y-%m-%dT%H:%M:%SZ'),
'modified': self.modified.strftime('%Y-%m-%dT%H:%M:%SZ')
'created': self.created,
'modified': self.modified
}
def __unicode__(self):