@model backend_AG.Models.UserSyncState @{ ViewData["Title"] = "Sync Status"; }

Calendar Sync Status

@Model.UserEmail

Status:
@Model.LastSyncStatus
Last Sync:
@(Model.LastSyncTime?.ToLocalTime().ToString("g") ?? "Never")
Next Sync:
@(Model.LastSyncTime?.AddHours(1).ToLocalTime().ToString("g") ?? "Soon")
Events Synced:
@Model.EventsSyncedRecently
@if (!string.IsNullOrEmpty(Model.DebugInfo)) {
Debug Information
@Model.DebugInfo
}

Your calendar changes are synced to CalendarSync.xlsx in your OneDrive root.