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

Atsushi Eno atsushi at ximian.com
Fri Jul 7 05:03:38 EDT 2006


Hi,

Your patch is in svn (with some tests) now. Thanks.

Atsushi Eno

Thong Nguyen wrote:
> Hi,
> 
> 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...
> 
> ^Tum
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list