mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change Today feed from 28 hours to 24 hours, since 24 hours is less weird and more easily explainable.
This commit is contained in:
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user