Skip to content

Commit

Permalink
- Add another chinese header
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Jul 13, 2020
1 parent 0f70f9e commit 027f2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenDirectoryDownloader/DirectoryParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ private static HeaderInfo GetHeaderInfo(IElement header)

headerName = Regex.Replace(headerName, @"[^a-zA-Z0-9\s一-龥]", string.Empty);

if (headerName == "last modified" || headerName == "modified" || headerName.Contains("date") || headerName.Contains("last modification") || headerName.Contains("time") || headerName.Contains("修改时间"))
if (headerName == "last modified" || headerName == "modified" || headerName.Contains("date") || headerName.Contains("last modification") || headerName.Contains("time") || headerName.Contains("修改时间") || headerName.Contains("修改日期"))
{
headerInfo.Type = HeaderType.Modified;
}
Expand Down

0 comments on commit 027f2cf

Please sign in to comment.