[Mono-dev] Patch for TimeZone.cs to fix DateTime.Kind bug

Thong Nguyen tum at veridicus.com
Fri Jul 7 01:51:30 EDT 2006


The property DateTime.Now, DateTime.UtcNow and the methods
DateTime.ToLocalTime() and DateTIme.ToUniversalTime() don't set the
DateTime.Kind property as they should.

I've reported this as bug http://bugzilla.ximian.com/show_bug.cgi?id=78784

Haven't written a unit test...would appreciate it if someone else did that

Patch for fix attached...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: timezone.diff
Type: application/octet-stream
Size: 2525 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060707/572cd566/attachment.obj 

More information about the Mono-devel-list mailing list