New: Better Fuzzy DateTime Parse

This commit is contained in:
Qstick
2021-12-07 18:42:38 -06:00
parent 4a7bf39723
commit 6b886b938c
3 changed files with 363 additions and 13 deletions

View File

@@ -633,7 +633,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
var date = DateTimeUtil.ParseDateTimeGoLang(data, layout);
data = date.ToString(DateTimeUtil.Rfc1123ZPattern);
}
catch (FormatException ex)
catch (InvalidDateException ex)
{
_logger.Debug(ex.Message);
}