Skip to content

Commit cc3dbc4

Browse files
committed
Prepare DODEC for 2026 reporting since I'm doing year stuff
1 parent 4b26781 commit cc3dbc4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

audit/dodec/src/PerformAggregation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func PerformAggregation(db *mongo.Database, ctx context.Context) {
3838
}
3939
//substringToFindInCodeExamples := "defaultauthdb"
4040
//substringToFindInPageURL := "code-examples"
41-
monthForReporting := time.November
41+
monthForReporting := time.January
4242

4343
for _, collectionName := range collectionNames {
4444
//simpleMap = aggregations.GetCategoryCounts(db, collectionName, simpleMap, ctx)

audit/dodec/src/aggregations/FindUsageExamplesForMonth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// track the product and sub-product in the types.NewAppliedUsageExampleCounterByProductSubProduct
1818
func FindUsageExamplesForMonth(db *mongo.Database, collectionName string, productSubProductCounter types.NewAppliedUsageExampleCounterByProductSubProduct, monthForReporting time.Month, ctx context.Context) types.NewAppliedUsageExampleCounterByProductSubProduct {
1919
// Target a specific month (example for November 2025):
20-
targetYear := 2025
20+
targetYear := 2026
2121
monthStart := time.Date(targetYear, monthForReporting, 1, 0, 0, 0, 0, time.UTC)
2222
monthEnd := monthStart.AddDate(0, 1, 0) // First day of next month
2323
// Define the aggregation pipeline

0 commit comments

Comments
 (0)