This project is read-only.
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 20, 2013 at 12:41 AM by abfo
Applied patch.

comments

muxa wrote Apr 19, 2011 at 9: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 12:51 PM

Please ignore my last comment :)

muxa wrote Apr 19, 2011 at 12:58 PM

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

wrote Feb 14, 2013 at 7:21 PM

wrote Oct 20, 2013 at 12:41 AM