Wrong date in notifications
- App build number: 2.5.3 420503003
- Android version: 15
- Device: OnePlus 11
- Installation source: Google Play
In the notifications there is displayed the wrong date, every day is the 2025/01/01
Does that change at all if you switch from Move mode back to Significant changes mode?
Does that change at all if you switch from Move mode back to Significant changes mode?
No it's the same.
I think that date is the date that the notification was created, which is the default for all Android notifications.
This is a bug. We should be calling setWhen on the notification so it displays the timestamp of the last update, but I guess that Clock.system.now() is only evaluated once:
https://github.com/owntracks/android/blob/master/project/app/src/main/java/org/owntracks/android/services/OngoingNotification.kt#L60