1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-13 14:53:18 +00:00

sync date on settings list is local

This commit is contained in:
Kyle Spearrin
2019-06-04 16:36:34 -04:00
parent 83f8989d1f
commit 8e1753ea37

View File

@@ -74,6 +74,7 @@ namespace Bit.App.Pages
var lastSync = await _syncService.GetLastSyncAsync(); var lastSync = await _syncService.GetLastSyncAsync();
if(lastSync != null) if(lastSync != null)
{ {
lastSync = lastSync.Value.ToLocalTime();
_lastSyncDate = string.Format("{0} {1}", lastSync.Value.ToShortDateString(), _lastSyncDate = string.Format("{0} {1}", lastSync.Value.ToShortDateString(),
lastSync.Value.ToShortTimeString()); lastSync.Value.ToShortTimeString());
} }