mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00

Use LocalDate to get current date and yesterday's date. Then compare these dates with history's dates. Use strings values "Today" and "Yesterday" wherever required. Used Java 8's classes LocalDate which works for API 26 and onwards. Add JakeWharton's ABPThreeTen For BackwardCompatibility before API 26 Hence, I had to increase the minSdk to 15 as it doesn't works with 14 Added 'Today' and 'Yesterday' instead of specific dates in History