From b6905791540cdb813c58f296b14a8810f710d78f Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sun, 5 Jun 2022 16:35:39 -0500 Subject: [PATCH] fix issue with meta event context after 1st page load --- SharedLibraryCore/Utilities.cs | 3 ++- .../Views/Shared/Components/ProfileMetaList/_List.cshtml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SharedLibraryCore/Utilities.cs b/SharedLibraryCore/Utilities.cs index 7be105c55..4e9e04931 100644 --- a/SharedLibraryCore/Utilities.cs +++ b/SharedLibraryCore/Utilities.cs @@ -47,7 +47,8 @@ namespace SharedLibraryCore public static char[] DirectorySeparatorChars = { '\\', '/' }; public static char CommandPrefix { get; set; } = '!'; - public static string ToStandardFormat(this DateTime? time) => time?.ToString("yyyy-MM-dd H:mm:ss"); + public static string ToStandardFormat(this DateTime? time) => time?.ToString("yyyy-MM-dd H:mm:ss UTC"); + public static string ToStandardFormat(this DateTime time) => time.ToString("yyyy-MM-dd H:mm:ss UTC"); public static EFClient IW4MAdminClient(Server server = null) { diff --git a/WebfrontCore/Views/Shared/Components/ProfileMetaList/_List.cshtml b/WebfrontCore/Views/Shared/Components/ProfileMetaList/_List.cshtml index e55e98cec..80dbeb688 100644 --- a/WebfrontCore/Views/Shared/Components/ProfileMetaList/_List.cshtml +++ b/WebfrontCore/Views/Shared/Components/ProfileMetaList/_List.cshtml @@ -55,10 +55,10 @@ } start++; -
+
- }