mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Change OPML export filename to use ISO date format
This allows one to have multiple export files that will then sort correctly on the filesystem.
This commit is contained in:
parent
ae0cf0f99e
commit
99512d8ebf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue