Private GIT

Skip to content
Snippets Groups Projects
Commit 4fa8e2b0 authored by Vince Valenti's avatar Vince Valenti
Browse files

Wrap time calls with try/except to fix #3095

This fixes SiCKRAGETV/sickrage-issues#3095. In cases where the "default"
time that I was using of 1970-01-01 could be interpreted as negative
with a positive offset timezone, an exception was thrown by mktime().

Also move to datetime per recommendation from @miigotu.
parent 6d9fb209
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment