[Mono-bugs] [Bug 391093] New: TimeZoneInfo.Local doesn't work in	Arizona
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Thu May 15 18:23:27 EDT 2008
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=391093
           Summary: TimeZoneInfo.Local doesn't work in Arizona
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tedu at fogcreek.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
Change /etc/localtime to America/Phoenix.  Then run this:
using System;
class ILiveInAZ {
        static public void Main() {
                Console.WriteLine(TimeZoneInfo.Local);
        }
}
Result:
Unhandled Exception: System.TimeZoneNotFoundException: Exception of type
'System.TimeZoneNotFoundException' was thrown.
  at System.TimeZoneInfo.get_Local () [0x00000] 
  at ILiveInAZ.Main () [0x00000]
-- 
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