mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
parent
c0de078dbb
commit
259b691254
|
@ -358,7 +358,7 @@ class BackupDetailsPage extends StatelessWidget {
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: overrideColor,
|
color: overrideColor,
|
||||||
),
|
),
|
||||||
'${MaterialLocalizations.of(context).formatShortDate(backup.time)} ${TimeOfDay.fromDateTime(backup.time).format(context)}',
|
'${MaterialLocalizations.of(context).formatShortDate(backup.time.toLocal())} ${TimeOfDay.fromDateTime(backup.time.toLocal()).format(context)}',
|
||||||
),
|
),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|
|
@ -81,7 +81,7 @@ class BackupsListPage extends StatelessWidget {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
title: Text(
|
title: Text(
|
||||||
'${MaterialLocalizations.of(context).formatShortDate(backup.time)} ${TimeOfDay.fromDateTime(backup.time).format(context)}',
|
'${MaterialLocalizations.of(context).formatShortDate(backup.time.toLocal())} ${TimeOfDay.fromDateTime(backup.time.toLocal()).format(context)}',
|
||||||
),
|
),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
service?.displayName ?? backup.fallbackServiceName,
|
service?.displayName ?? backup.fallbackServiceName,
|
||||||
|
|
|
@ -95,7 +95,7 @@ class _SnapshotModalState extends State<SnapshotModal> {
|
||||||
'backup.snapshot_creation_time_title'.tr(),
|
'backup.snapshot_creation_time_title'.tr(),
|
||||||
),
|
),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
'${MaterialLocalizations.of(context).formatShortDate(widget.snapshot.time)} ${TimeOfDay.fromDateTime(widget.snapshot.time).format(context)}',
|
'${MaterialLocalizations.of(context).formatShortDate(widget.snapshot.time.toLocal())} ${TimeOfDay.fromDateTime(widget.snapshot.time.toLocal()).format(context)}',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SnapshotIdListTile(snapshotId: widget.snapshot.id),
|
SnapshotIdListTile(snapshotId: widget.snapshot.id),
|
||||||
|
|
Loading…
Reference in a new issue