Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

Commit

Permalink
Change to Utc
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennanConroy committed Jun 30, 2016
1 parent 721cd3a commit 71101dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ public EmbeddedFileProvider(Assembly assembly, string baseNamespace)
_baseNamespace = string.IsNullOrEmpty(baseNamespace) ? string.Empty : baseNamespace + ".";
_assembly = assembly;

_lastModified = DateTimeOffset.Now;
_lastModified = DateTimeOffset.UtcNow;

#if NETSTANDARD1_5
if (_assembly.Location != null)
{
_lastModified = new FileInfo(_assembly.Location).LastWriteTime;
_lastModified = new FileInfo(_assembly.Location).LastWriteTimeUtc;
}
#endif
}
Expand Down

0 comments on commit 71101dc

Please sign in to comment.