rss email digests over ssh because you're a cool kid herald.dunkirk.sh
go rss rss-reader ssh charm
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fix the warning in the emails to use the extended time

+5 -1
+5 -1
scheduler/scheduler.go
··· 355 355 } 356 356 357 357 // Calculate expiry info 358 - expiryDate := cfg.CreatedAt.AddDate(0, 0, 90) 358 + expiryBase := cfg.CreatedAt 359 + if cfg.LastActiveAt.Valid && cfg.LastActiveAt.Time.After(cfg.CreatedAt) { 360 + expiryBase = cfg.LastActiveAt.Time 361 + } 362 + expiryDate := expiryBase.AddDate(0, 0, 90) 359 363 daysUntilExpiry := int(time.Until(expiryDate).Hours() / 24) 360 364 showUrgentBanner := daysUntilExpiry <= 7 && daysUntilExpiry >= 0 361 365 showWarningBanner := daysUntilExpiry > 7 && daysUntilExpiry <= 30