aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2020-04-16 01:03:29 +0300
committerGitHub <noreply@github.com>2020-04-16 01:03:29 +0300
commit95dc99fdbda1067d9392649a47110448bc6b9187 (patch)
tree7a44a460d6c6b2ba15fa057df02f6ae57d075085 /Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
parent9df49cc7961e9442e888f97f9d5cc2c3af706809 (diff)
Update Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpResultFactory.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpResultFactory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs
index 3b1563fdd..d394c56ad 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.