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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to