Change Today feed from 28 hours to 24 hours, since 24 hours is less weird and more easily explainable.
This commit is contained in:
parent
8b0c8156df
commit
f824be2f16
|
@ -170,7 +170,7 @@ private extension ArticlesDatabase {
|
||||||
"""
|
"""
|
||||||
|
|
||||||
func todayCutoffDate() -> Date {
|
func todayCutoffDate() -> Date {
|
||||||
// 28 hours previous. This is used by the Today smart feed, which should not actually empty out at midnight.
|
// 24 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.
|
return Date(timeIntervalSinceNow: -(60 * 60 * 24)) // This does not need to be more precise.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue