[Mono-list] Patch for DataTime.cs

Gonzalo Paniagua Javier gonzalo@ximian.com
27 Feb 2003 19:00:30 +0100


El jue, 27 de 02 de 2003 a las 18:45, Elan Feingold escribiˇ:
> A few things: 
> 
> - FileTime is expressed in Universal time, and as such must be converted
> before subtracting the magic offset (patch 1)
> 
> - Strings in the format "2003-02-27T10:05:03-11:00" (note the timezone
> at the end) *must* be parsed by DateTime.Parse() for compatibility with
> Microsoft. This came up in my work with XML [de]serialization, which
> I'll send a patch for shortly (patch 1)
> 
> - The date time format patterns didn't match MS output (patch 2)
> 
> I've been running my test program (also included) on XP and Linux to get
> them to match.

Can you add your tests to mcs/class/corlib/Test/....?

What does patch 3 do? I mean, can you please write a few lines Ó la
ChangeLog style?

> 
> Also, a question. Whenever I run any .NET program under Mono, always I
> get three characters of garbage printed at the start "´╗┐" (not sure if
> these will show up in email). Any ideas?

That's because it's using UTF8 as default encoding. Either set your
terminal to be UTF8-aware or export LC_ALL=C or something like that.


Thanks!