This commit is contained in:
Ozzieisaacs
2019-05-01 17:47:54 +02:00
parent b80bfa5260
commit 55bb8d4590
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -704,7 +704,7 @@ def feed_search(term):
def render_xml_template(*args, **kwargs):
#ToDo: return time in current timezone similar to %z
currtime = datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%S+00:00")
xml = render_template(current_time=currtime, *args, **kwargs)
xml = render_template(current_time=currtime, instance=config.config_calibre_web_title, *args, **kwargs)
response = make_response(xml)
response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
return response