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

Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
Vasily 2020-04-16 01:03:29 +03:00 committed by GitHub
parent 9df49cc796
commit 95dc99fdbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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