[Mono-bugs] [Bug 622524] New: Calling TimeZoneInfo.Local throws TimeZoneNotFoundException
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jul 15 05:39:20 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=622524
http://bugzilla.novell.com/show_bug.cgi?id=622524#c0
Summary: Calling TimeZoneInfo.Local throws
TimeZoneNotFoundException
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: x86
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: santiago at sclsoftware.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0;
Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729;
NET CLR 3.0.30618; .NET4.0C; .NET4.0E)
Any call to TimeZoneInfo.Local throws a TimeZoneNotFoundException
Reproducible: Always
Steps to Reproduce:
1. call TimeZoneInfo.Local
Actual Results:
Thrown 'System.TimeZoneNotFoundException'.
Expected Results:
The local TimeZoneInfo
I tested with XSP 2.6.6. This is the simplest test:
<%@ Page Language="C#" %>
<%= TimeZoneInfo.Local == null %>
The result:
System.TimeZoneNotFoundException: Exception of type
'System.TimeZoneNotFoundException' was thrown. at
System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at
ASP.timezoneinfo_aspx.__RenderTree (System.Web.UI.HtmlTextWriter __output,
System.Web.UI.Control parameterContainer) [0x00000] in <filename unknown>:0
at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer)
[0x00000] in <filename unknown>:0 at System.Web.UI.Control.Render
(System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 at
System.Web.UI.Page.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] in
<filename unknown>:0 at System.Web.UI.Control.RenderControl
(System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 at
System.Web.UI.Page.RenderPage () [0x00000] in <filename unknown>:0 at
System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0
--
Configure bugmail: http://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