diff --git a/lib/nuget/NuGet.Core.dll b/lib/nuget/NuGet.Core.dll index 4f7588e45..04f603e83 100644 Binary files a/lib/nuget/NuGet.Core.dll and b/lib/nuget/NuGet.Core.dll differ diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Services/FileBaseProjectSystem.cs b/src/Orchard.Web/Modules/Orchard.Packaging/Services/FileBaseProjectSystem.cs index 7a4bfe750..d9f711d5f 100644 --- a/src/Orchard.Web/Modules/Orchard.Packaging/Services/FileBaseProjectSystem.cs +++ b/src/Orchard.Web/Modules/Orchard.Packaging/Services/FileBaseProjectSystem.cs @@ -197,5 +197,13 @@ namespace Orchard.Packaging.Services { } return path; } + + public DateTimeOffset GetCreated(string path) { + if (this.DirectoryExists(path)) { + return Directory.GetCreationTimeUtc(this.GetFullPath(path)); + } + + return File.GetCreationTimeUtc(this.GetFullPath(path)); + } } } diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml index 6c13a7a2c..80349d8c6 100644 --- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Themes.cshtml @@ -27,7 +27,7 @@