We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611d732 commit 36bbc9bCopy full SHA for 36bbc9b
1 file changed
ietf/utils/timezone.py
@@ -96,7 +96,7 @@ def timezone_not_near_midnight():
96
right_now = timezone.now().astimezone(ZoneInfo(tzname))
97
# Avoid the remote possibility of an infinite loop (might come up
98
# if there is a problem with the time zone library)
99
- tries_left = 20
+ tries_left = 50
100
while right_now.hour < 1 or right_now.hour >= 23:
101
tzname = random.choice(timezone_options)
102
right_now = right_now.astimezone(ZoneInfo(tzname))
0 commit comments