[Mono-list] if-modified-since
Gonzalo Paniagua Javier
gonzalo@ximian.com
Tue, 19 Aug 2003 05:40:21 +0200
El mar, 19-08-2003 a las 04:56, Piers Haken escribió:
> I think you missed the point of my comment below. There's still a bug in
> DateTime where Parse isn't taking the local timezone into account when
> parsing an RFC1123 date.
>
> Here's an example (bug #47720):
>
> using System;
> class Test
> {
> public static void Main (string [] rgszArgs)
> {
> DateTime dt = DateTime.Parse ("Sat, 29 Oct 1994 12:00:00
> GMT");
> Console.WriteLine (dt);
> }
> }
Now the point is to find out whether it makes sense to add the utcoffset
+ daylight for *today* to a date in which (at least for me) daylight was
0...
I agree with mono: the date printed should be the same as the one parsed
:-).
Anyway, this can be considered a bug in our implementation...
Anyone willing to fix this?
-Gonzalo