Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit a8eb974

Browse files
author
Steven Kirk
committed
Removed debug code.
1 parent 5d10415 commit a8eb974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Exports/Services/UsageTracker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async void TimerTick(object sender, EventArgs e)
167167
// launch count but we only submit (and clear) the weekly launch count when we've
168168
// transitioned into a new week. We've defined a week by the ISO8601 definition,
169169
// i.e. week starting on Monday and ending on Sunday.
170-
var lastDate = DateTimeOffset.MinValue; //usage.LastUpdated;
170+
var lastDate = usage.LastUpdated;
171171
var currentDate = DateTimeOffset.Now;
172172
var includeWeekly = GetIso8601WeekOfYear(lastDate) != GetIso8601WeekOfYear(currentDate);
173173
var includeMonthly = lastDate.Month != currentDate.Month;

0 commit comments

Comments
 (0)