Updater: Fix compiled time
@@ -144,7 +144,7 @@ VOID ShowLatestVersionDialog(
{
LARGE_INTEGER time;
SYSTEMTIME systemTime = { 0 };
- SYSTEMTIME localTime = { 0 };
+ //SYSTEMTIME localTime = { 0 };
PIMAGE_DOS_HEADER imageDosHeader;
PIMAGE_NT_HEADERS imageNtHeader;
@@ -154,7 +154,7 @@ VOID ShowLatestVersionDialog(
RtlSecondsSince1970ToTime(imageNtHeader->FileHeader.TimeDateStamp, &time);
PhLargeIntegerToLocalSystemTime(&systemTime, &time);
- SystemTimeToTzSpecificLocalTime(NULL, &systemTime, &localTime);
+ //SystemTimeToTzSpecificLocalTime(NULL, &systemTime, &localTime);
config.pszMainInstruction = L"You're running the latest nightly build";
config.pszContent = PhaFormatString(
@@ -162,7 +162,7 @@ VOID ShowLatestVersionDialog(
Context->CurrentMajorVersion,
Context->CurrentMinorVersion,
Context->CurrentRevisionVersion,
- PhaFormatDateTime(&localTime)->Buffer
+ PhaFormatDateTime(&systemTime)->Buffer
)->Buffer;
if (PhIsNullOrEmptyString(Context->BuildMessage))
