Merge pull request #48 from mdaniel/patch-1

Change OPML export filename to use ISO date format
This commit is contained in:
Samuel Clay 2012-03-29 13:22:00 -07:00
commit a44189ced4

View file

@ -54,7 +54,7 @@ def opml_export(request):
response = HttpResponse(opml, mimetype='text/xml')
response['Content-Disposition'] = 'attachment; filename=NewsBlur Subscriptions - %s' % (
now.strftime('%d %B %Y')
now.strftime('%Y-%m-%d')
)
return response