UI: show timezone if different than local.

Fixes #1296.
This commit is contained in:
Dennis Guse
2022-08-22 18:23:24 +02:00
parent 27727b6dcf
commit 73e59cbba2
5 changed files with 16 additions and 12 deletions
@@ -153,7 +153,7 @@ public class DescriptionGenerator {
}
// Recorded time
builder.append(context.getString(R.string.description_recorded_time, StringUtils.formatDateTime(OffsetDateTime.ofInstant(stats.getStartTime(), ZoneId.systemDefault()))));
builder.append(context.getString(R.string.description_recorded_time, StringUtils.formatDateTimeWithOffset(OffsetDateTime.ofInstant(stats.getStartTime(), ZoneId.systemDefault()))));
builder.append(lineBreak);
return builder.toString();