[Mono-bugs] [Bug 622524] Calling TimeZoneInfo.Local throws TimeZoneNotFoundException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 26 19:55:26 EST 2010



Flurin Rindisbacher <info at flurischt.ch> changed:

           What    |Removed                     |Added
                 CC|                            |info at flurischt.ch

--- Comment #2 from Flurin Rindisbacher <info at flurischt.ch> 2010-11-27 00:55:25 UTC ---
I can confirm this on Windows 7 using mono 2.8.1.

the following program fails with different timezones:

using System;

namespace TimeZoneTests
    class MainClass
        public static void Main (string[] args)
            Console.WriteLine (TimeZoneInfo.Local); 

I tested it with "(UTC -06:00) Central" "+1 Berlin Bern ..." and some other
timezones. if I use the mono Runtime in Monodevelop the above program fails. if
I use the Microsoft .Net Runtime it works as expected.

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