diff --git a/pkg/season/admin.go b/pkg/season/admin.go index bd6943a..9dc75cd 100644 --- a/pkg/season/admin.go +++ b/pkg/season/admin.go @@ -197,7 +197,6 @@ var longMonthNames = []string{ func CollectSeasonCalendar(ctx context.Context, company *auth.Company, conn *database.Conn, year int, firstMonth time.Month, monthCount int) (*Calendar, error) { firstDay := time.Date(year, firstMonth, 1, 0, 0, 0, 0, time.UTC) lastDay := firstDay.AddDate(0, monthCount, 0).Add(-1 * time.Second) - fmt.Println(lastDay) rows, err := conn.Query(ctx, ` select t.day::date , to_color(coalesce(color, $1)) as color