Skip to content
Browse files

fixing date

  • Loading branch information...
1 parent a4bcae5 commit 0700addf84d8f7762e6c018452a9adcc9a91181e Mike Krieger committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 greetings/views.py
View
2 greetings/views.py
@@ -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'] = naturalday(greeting.date_sent, "M j")
+ json['date'] = greeting.date_sent
json['text'] = greeting.text_content
if greeting.template_name:
json['template_name'] = greeting.template_name

0 comments on commit 0700add

Please sign in to comment.
Something went wrong with that request. Please try again.