mirror of https://github.com/Jackett/Jackett
ParseDateTimeGoLang: normalize spaces first (#700)
This commit is contained in:
parent
f1f5b7028d
commit
ddb94e3f92
|
@ -202,6 +202,7 @@ namespace Jackett.Utils
|
|||
// converts a date/time string to a DateTime object using a GoLang layout
|
||||
public static DateTime ParseDateTimeGoLang(string date, string layout)
|
||||
{
|
||||
date = ParseUtil.NormalizeSpace(date);
|
||||
var pattern = layout;
|
||||
|
||||
// year
|
||||
|
|
Loading…
Reference in New Issue