2

Closed

Set Kind to "Local" when converting to local.

description

When instantiating the return date int the Zone.ConvertToLocal function the type should be set to DateTimeKind.Local rather than Utc.
Closed Oct 19, 2013 at 11:41 PM by abfo
Applied patch.

comments

muxa wrote Apr 19, 2011 at 8:20 AM

I agree, it should not be Utc when colling ConvertToLocal, however i think it's better to use DateTimeKind.Unspecified instead - Local means system local.

muxa wrote Apr 19, 2011 at 11:51 AM

Please ignore my last comment :)

muxa wrote Apr 19, 2011 at 11:58 AM

I've submitted a patch for this: ID 9207 at http://zoneinfo.codeplex.com/SourceControl/list/patches

wrote Feb 14, 2013 at 6:21 PM

wrote Oct 19, 2013 at 11:41 PM