ParseDateTimeGoLang: normalize spaces first (#700)

This commit is contained in:
kaso17 2016-11-19 12:39:22 +01:00 committed by GitHub
parent f1f5b7028d
commit ddb94e3f92
1 changed files with 1 additions and 0 deletions

View File

@ -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