@@ -144,7 +144,7 @@ VOID ShowLatestVersionDialog(
144
144
{
145
145
LARGE_INTEGER time ;
146
146
SYSTEMTIME systemTime = { 0 };
147
- SYSTEMTIME localTime = { 0 };
147
+ // SYSTEMTIME localTime = { 0 };
148
148
PIMAGE_DOS_HEADER imageDosHeader ;
149
149
PIMAGE_NT_HEADERS imageNtHeader ;
150
150
@@ -154,15 +154,15 @@ VOID ShowLatestVersionDialog(
154
154
155
155
RtlSecondsSince1970ToTime (imageNtHeader -> FileHeader .TimeDateStamp , & time );
156
156
PhLargeIntegerToLocalSystemTime (& systemTime , & time );
157
- SystemTimeToTzSpecificLocalTime (NULL , & systemTime , & localTime );
157
+ // SystemTimeToTzSpecificLocalTime(NULL, &systemTime, &localTime);
158
158
159
159
config .pszMainInstruction = L"You're running the latest nightly build" ;
160
160
config .pszContent = PhaFormatString (
161
161
L"Version: v%lu.%lu.%lu\r\nCompiled: %s" ,
162
162
Context -> CurrentMajorVersion ,
163
163
Context -> CurrentMinorVersion ,
164
164
Context -> CurrentRevisionVersion ,
165
- PhaFormatDateTime (& localTime )-> Buffer
165
+ PhaFormatDateTime (& systemTime )-> Buffer
166
166
)-> Buffer ;
167
167
168
168
if (PhIsNullOrEmptyString (Context -> BuildMessage ))
0 commit comments