Commit 3dc3ed6d authored by Cédric Krier's avatar Cédric Krier
Browse files

Use tzinfo.tzname instead of key to display timezone on cron

key is a specific to ZoneInfo implementation when tzname is part tzinfo API.

Closes #12036
parent ecf3f470e900
Pipeline #61739 passed with stages
in 20 minutes and 31 seconds
......@@ -103,7 +103,7 @@
table_h.not_null_action('next_call', 'remove')
def get_timezone(self, name):
return tz.SERVER.key
return tz.SERVER.tzname(datetime.datetime.now())
@classmethod
def check_xml_record(cls, crons, values):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment