|
Bugzilla – Full Text Bug Listing |
| Summary: | Calling TimeZoneInfo.Local throws TimeZoneNotFoundException | ||
|---|---|---|---|
| Product: | [Mono] Mono: Class Libraries | Reporter: | Santiago Corredoira <santiago> |
| Component: | Sys.Core | Assignee: | Mono Bugs <mono-bugs> |
| Status: | NEW --- | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | info, jeroen |
| Version: | SVN | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Santiago Corredoira
2010-07-15 09:39:19 UTC
This also affects IKVM.NET 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.
|