Make NetNewsWire’s article display window 90 days. It was 93 days, which is weird, even though there was a good reason (3 * 31).

This commit is contained in:
Brent Simmons 2019-12-08 22:21:53 -08:00
parent 9c3217d032
commit cf84021fab
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ final class ArticlesTable: DatabaseTable {
}()
// TODO: update articleCutoffDate as time passes and based on user preferences.
private var articleCutoffDate = NSDate.rs_dateWithNumberOfDays(inThePast: 3 * 31)!
private var articleCutoffDate = NSDate.rs_dateWithNumberOfDays(inThePast: 90)!
private var maximumArticleCutoffDate = NSDate.rs_dateWithNumberOfDays(inThePast: 4 * 31)!
private typealias ArticlesFetchMethod = (FMDatabase) -> Set<Article>