Skip to content

The Free Software Media System - Server Backend & API

Update Emby.Server.Implementations/HttpServer/HttpResultFactory.cs

Vasily95dc99fdbda1
diff --git a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
index 3b1563fdda..d394c56ad2 100644
--- a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
@@ -32,7 +32,7 @@ namespace Emby.Server.Implementations.HttpServer
// see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since
private const string HttpDateFormat = "ddd, dd MMM yyyy HH:mm:ss \"GMT\"";
// We specifically use en-US culture because both day of week and month names must be in it9
- private static readonly CultureInfo _enUSculture = CultureInfo.CreateSpecificCulture("en-US");
+ private static readonly CultureInfo _enUSculture = new CultureInfo("en-US", false);
/// <summary>
/// The logger.