You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2018. It is now read-only.
The timezone offset of _lastModified is retained, so in theory it should do comparisons correctly regardless of whether they're local or universal. Though it wouldn't hurt to confirm that as I haven't used DateTimeOffset much myself.
Ported from: http://katanaproject.codeplex.com/SourceControl/network/forks/uecasm/LastModified/contribution/8369#!/tab/changes
https://github.com/aspnet/StaticFiles/blob/dev/src/Microsoft.AspNet.StaticFiles/StaticFileContext.cs#L137
LastModified from the file info might be in local time. We should convert it to UTC before attempting any comparisons.
The switch to strongly typed headers at least fixed the header value output: https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.Net.Http.Headers/HttpRuleParser.cs#L239
The text was updated successfully, but these errors were encountered: