[Mono-bugs] [Bug 353495] HttpWebResponse.LastModified isn't corrected for time zone

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 13 20:04:22 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=353495

User jdpurcell2 at yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=353495#c2





--- Comment #2 from James Purcell <jdpurcell2 at yahoo.com>  2008-01-13 18:04:22 MST ---
(In reply to comment #1 from James Purcell)
> new DateTime(d.Ticks, DateTimeKind.Utc).ToLocalTime()

Actually no need for that, just add DateTimeStyles.AssumeUniversal to
ParseExact.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list