toastdriven/django-tastypie — pull request #656 by aljana (2012-09-05 18:21:22+00:00)
Title: Changed date formatting to return non-localized dates

Hello!

I have made some changes in the date formatting.

The formatting is currently handled by the old django function that has an unsolved bug which is
described here: https://code.djangoproject.com/ticket/9762. The problem is that the function returns
localized date and that has unwanted consequences. For example it is impossible to automatically parse dates on the client-side if you are using languages other than English.

I replaced the old function with the `rfc2822_date` function from the django's feedgenerator library.
This function works properly and also takes care of the time zones so the old `make_naive` function was removed as it is no longer needed.