Skip to content

Commit

Permalink
fixing date
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Krieger committed Jan 13, 2009
1 parent a4bcae5 commit 0700add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion greetings/views.py
Expand Up @@ -82,7 +82,7 @@ def json_from_card(card):
json['from_id'] = greeting.from_person.id json['from_id'] = greeting.from_person.id
json['to'] = [str(person) for person in greeting.to_people.all() ] json['to'] = [str(person) for person in greeting.to_people.all() ]
json['hash'] = greeting.short_hash json['hash'] = greeting.short_hash
json['date'] = naturalday(greeting.date_sent, "M j") json['date'] = greeting.date_sent
json['text'] = greeting.text_content json['text'] = greeting.text_content
if greeting.template_name: if greeting.template_name:
json['template_name'] = greeting.template_name json['template_name'] = greeting.template_name
Expand Down

0 comments on commit 0700add

Please sign in to comment.