From f824be2f16c41889fd11dfca4204ea2ae4216480 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 27 Jul 2019 12:30:13 -0700 Subject: [PATCH] Change Today feed from 28 hours to 24 hours, since 24 hours is less weird and more easily explainable. --- Frameworks/ArticlesDatabase/ArticlesDatabase.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/ArticlesDatabase/ArticlesDatabase.swift b/Frameworks/ArticlesDatabase/ArticlesDatabase.swift index 40faca001..951162def 100644 --- a/Frameworks/ArticlesDatabase/ArticlesDatabase.swift +++ b/Frameworks/ArticlesDatabase/ArticlesDatabase.swift @@ -170,7 +170,7 @@ private extension ArticlesDatabase { """ func todayCutoffDate() -> Date { - // 28 hours previous. This is used by the Today smart feed, which should not actually empty out at midnight. - return Date(timeIntervalSinceNow: -(60 * 60 * 28)) // This does not need to be more precise. + // 24 hours previous. This is used by the Today smart feed, which should not actually empty out at midnight. + return Date(timeIntervalSinceNow: -(60 * 60 * 24)) // This does not need to be more precise. } }