[Mono-bugs] [Bug 391093] TimeZoneInfo crash loading various timezones
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue May 27 18:13:58 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=391093
User tedu at fogcreek.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=391093#c2
Ted Unangst <tedu at fogcreek.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|TimeZoneInfo.Local doesn't work in Arizona |TimeZoneInfo crash loading various timezones
--- Comment #2 from Ted Unangst <tedu at fogcreek.com> 2008-05-27 16:13:58 MDT ---
Thanks, this fixed Arizona, but several other time zones still don't work.
I used the following script to test on an ubuntu machine.
for tz in /usr/share/zoneinfo/*/* /usr/share/zoneinfo/*/*/*; do
if (echo $tz | grep posix > /dev/null); then
continue;
fi
if (echo $tz | grep right > /dev/null); then
continue;
fi
if ! [ -f $tz ]; then
continue
fi
echo $tz
cp $tz /etc/localtime
mono tz.exe
echo "Done"
done
I have 524 timezones, 24 don't work.
/usr/share/zoneinfo/Africa/Tunis
Unhandled Exception: System.TimeZoneNotFoundException: Exception of type
'System.TimeZoneNotFoundException' was thrown.
--
/usr/share/zoneinfo/America/Buenos_Aires
Unhandled Exception: System.TimeZoneNotFoundException: Exception of type
'System.TimeZoneNotFoundException' was thrown.
--
/usr/share/zoneinfo/America/Catamarca
Unhandled Exception: System.TimeZoneNotFoundException: Exception of type
'System.TimeZoneNotFoundException' was thrown.
.. and so on.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list