Remove all instances of en-US culture

This commit is contained in:
Cody Robibero
2021-09-26 08:14:36 -06:00
parent 82cb685178
commit 9234e5bf80
23 changed files with 116 additions and 152 deletions

View File

@@ -57,9 +57,7 @@ namespace MediaBrowser.Controller.Entities
public IList<BaseItem> GetTaggedItems(InternalItemsQuery query)
{
var usCulture = new CultureInfo("en-US");
if (!int.TryParse(Name, NumberStyles.Integer, usCulture, out var year))
if (!int.TryParse(Name, NumberStyles.Integer, CultureInfo.InvariantCulture, out var year))
{
return new List<BaseItem>();
}