There was an error while loading. Please reload this page.
1 parent f08c851 commit 23ae121Copy full SHA for 23ae121
1 file changed
shared/src/commonMain/kotlin/com/prof18/feedflow/shared/domain/mappers/RssChannelMapper.kt
@@ -32,7 +32,7 @@ internal class RssChannelMapper(
32
dateFormatter.getDateMillisFromString(it)
33
} ?: dateFormatter.currentTimeMillis()
34
35
- // Normalize future dates to current time to avoid articles with incorrect
+ // Normalize future dates to the current time to avoid articles with incorrect
36
// future dates always appearing at the top of the feed list
37
val currentTimeMillis = dateFormatter.currentTimeMillis()
38
val dateMillis = if (parsedDateMillis > currentTimeMillis) {
0 commit comments