Closed AtjonTV closed 1 year ago
I just tried and confirmed this broken on a EMUI 10/Android 10 device. So at least it's not a EMUI 11 issue.
On this same device Stanley 2.6 worked flawless (besides the known crash bug for clicking About in the menu)
(Tested on Huawei P smart Z)
So .. restoring Stanley 2.6 via Huawei Cloud I can confirm it working on both devices, showing the correct dates.
So this is a 2.7 issue, yet I don't know and can't confirm if this is broken on other Android versions. (All devices I have at hand run Android 10)
Dates fall back to zero if null given: https://github.com/xgouchet/Stanley/blob/e7affd633045f6d4811a0d12f23386bb776ab043/app/src/main/java/fr/xgouchet/packageexplorer/applist/AppViewModel.kt#L68
And here is the only place explicitly giving null: https://github.com/xgouchet/Stanley/blob/e7affd633045f6d4811a0d12f23386bb776ab043/app/src/main/java/fr/xgouchet/packageexplorer/applist/AppListSource.kt#L29
Where I found this being changed: https://github.com/xgouchet/Stanley/commit/e7affd633045f6d4811a0d12f23386bb776ab043
Hi @AtjonTV thanks for raising this issue. I'll try and fix it soon, feel free to open a PR in the meantime.
I just noticed that all dates shown by Stanley are 1st January 1970, regardless on when the app was installed or updated.
I first tried to clear caches without luck and then to reinstalled Stanley (2.7 / 19) via F-Droid but it didn't help:
Additional information: