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

Co-Authored-By: Bond-009 <bond.009@outlook.com>
pull/2864/head
Vasily 5 years ago committed by GitHub
parent 9df49cc796
commit 95dc99fdbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ namespace Emby.Server.Implementations.HttpServer
// see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since // 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\""; 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 // 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> /// <summary>
/// The logger. /// The logger.

Loading…
Cancel
Save