We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0900e2 commit d029f89Copy full SHA for d029f89
src/PostSharp.LicenseServer/Graph.aspx.cs
@@ -12,7 +12,6 @@
12
using System.Globalization;
13
using System.Linq;
14
using System.Web.UI;
15
-using PostSharp.Sdk.Extensibility.Licensing;
16
using ParsedLicense = PostSharp.Sdk.Extensibility.Licensing.License;
17
18
namespace PostSharp.LicenseServer
@@ -35,8 +34,8 @@ protected override void OnLoad(EventArgs e)
35
34
LicenseId = int.Parse(this.Request.QueryString["id"]);
36
37
Days = int.Parse( this.Request.QueryString["days"] ?? "30" );
38
- ;
39
- DateTime endDate = DateTime.Today;
+
+ DateTime endDate = VirtualDateTime.UtcNow.Date.AddDays(1);
40
DateTime startDate = endDate.AddDays( -Days );
41
42
// Retrieve license information.
0 commit comments