diff --git a/Frameworks/ArticlesDatabase/ArticlesTable.swift b/Frameworks/ArticlesDatabase/ArticlesTable.swift index cd5f202b3..226df54ab 100644 --- a/Frameworks/ArticlesDatabase/ArticlesTable.swift +++ b/Frameworks/ArticlesDatabase/ArticlesTable.swift @@ -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: 90)! + private let articleCutoffDate = Date().bySubtracting(days: 90) private typealias ArticlesFetchMethod = (FMDatabase) -> Set
diff --git a/submodules/RSCore b/submodules/RSCore index d6f6826e1..a23d10cbd 160000 --- a/submodules/RSCore +++ b/submodules/RSCore @@ -1 +1 @@ -Subproject commit d6f6826e1e3893e49522623b1e62dfb3fcb9eb4e +Subproject commit a23d10cbd7adce19841300ad9e5d57c54ea150f6