Permalink
Browse files

changing date format

  • Loading branch information...
1 parent 0700add commit 4e1a340b64940f7a6d890960196e89ae399bfbe9 Mike Krieger committed Jan 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 greetings/views.py
View
@@ -82,7 +82,7 @@ def json_from_card(card):
json['from_id'] = greeting.from_person.id
json['to'] = [str(person) for person in greeting.to_people.all() ]
json['hash'] = greeting.short_hash
- json['date'] = greeting.date_sent
+ json['date'] = str(greeting.date_sent.isoformat())
json['text'] = greeting.text_content
if greeting.template_name:
json['template_name'] = greeting.template_name

0 comments on commit 4e1a340

Please sign in to comment.