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 845821c commit 24fc90dCopy full SHA for 24fc90d
app.go
@@ -342,7 +342,8 @@ func (a *App) GenerateRepo(req GenerateRepoRequest) (*GenerateRepoResponse, erro
342
stream.WriteString("\n")
343
344
// Emit commit that points to README (:1) and activity (:nextMark)
345
- commitTime := parsedDate.Add(time.Duration(i) * time.Second)
+ // Shift to midday UTC so GitHub won't classify the commit into the previous day across time zones.
346
+ commitTime := parsedDate.Add(12*time.Hour + time.Duration(i)*time.Second)
347
secs := commitTime.Unix()
348
tz := commitTime.Format("-0700")
349
msg := fmt.Sprintf("Contribution on %s (%d/%d)", day.Date, i+1, day.Count)
0 commit comments