mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
commit
a31e2bdac1
@ -119,7 +119,8 @@ class Schedule(PrimordialModel, LaunchTimeConfig):
|
||||
tzinfo = r._dtstart.tzinfo
|
||||
if tzinfo is utc:
|
||||
return 'UTC'
|
||||
fname = tzinfo._filename
|
||||
fname = getattr(tzinfo, '_filename', None)
|
||||
if fname:
|
||||
for zone in all_zones:
|
||||
if fname.endswith(zone):
|
||||
return zone
|
||||
|
Loading…
Reference in New Issue
Block a user