Change Today feed from 28 hours to 24 hours, since 24 hours is less weird and more easily explainable.

This commit is contained in:
Brent Simmons 2019-07-27 12:30:13 -07:00
parent 8b0c8156df
commit f824be2f16
1 changed files with 2 additions and 2 deletions

View File

@ -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.
}
}