Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 45584a4

Browse files
author
ColinA-MSFT
committed
Change DateTime.UtcNow.Kind from Local to Utc.
1 parent 95863a9 commit 45584a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CLR/Libraries/CorLib/corlib_native_System_DateTime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ HRESULT Library_corlib_native_System_DateTime::get_UtcNow___STATIC__SystemDateTi
243243

244244
CLR_INT64* pRes = NewObject( stack );
245245

246-
*pRes = Time_GetUtcTime();
246+
*pRes = Time_GetUtcTime() | s_UTCMask;
247247

248248
TINYCLR_NOCLEANUP_NOLABEL();
249249
}

0 commit comments

Comments
 (0)