mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Date Routines Test Cases
This commit is contained in:
@@ -104,10 +104,10 @@ namespace NzbDrone.Core.Parser
|
||||
{
|
||||
var dtFormat = format == "UK" ?
|
||||
DateTimeRoutines.DateTimeFormat.UKDate :
|
||||
DateTimeRoutines.DateTimeFormat.UKDate;
|
||||
DateTimeRoutines.DateTimeFormat.USDate;
|
||||
|
||||
if (DateTimeRoutines.TryParseDateOrTime(
|
||||
str, dtFormat, out var dt))
|
||||
str, dtFormat, out DateTimeRoutines.ParsedDateTime dt))
|
||||
{
|
||||
return dt.DateTime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user