Timezone is not stored which leads to all kinds of issues when you change timezones of your device. I just tested this and timestamps of the app are always assumed to be in local time.
I would propose to write a RFC 3339 complaint timestamp like this: 2019-11-29 21:17:45+01:00
It is still local time, but with the timezone offset, you don’t lose the link to UTC and thus when the event happened regardless of the timezone.
Steps to reproduce:
Enable logging, let it log one log event.
Change the timezone in Android settings.
"View log file"
-> Old logs are incorrectly translated into the new timezone making it impossible to relay on the timestamp to tell when the log entry was actually emitted.
Environment:
Android version: 10
Device model: Google Pixel 3a
App version: 1.32.0
App downloaded from (play store, f-droid, github, other): f-droid
Description:
Timezone is not stored which leads to all kinds of issues when you change timezones of your device. I just tested this and timestamps of the app are always assumed to be in local time.
I would propose to write a RFC 3339 complaint timestamp like this: 2019-11-29 21:17:45+01:00
It is still local time, but with the timezone offset, you don’t lose the link to UTC and thus when the event happened regardless of the timezone.
Steps to reproduce:
-> Old logs are incorrectly translated into the new timezone making it impossible to relay on the timestamp to tell when the log entry was actually emitted.
Environment: