http://bugzilla.novell.com/show_bug.cgi?id=570859
http://bugzilla.novell.com/show_bug.cgi?id=570859#c0 Summary: DateTime.ToString(String, IFormatProvider) spells Russian months' names incorrectly Classification: Mono Product: Mono: Class Libraries Version: SVN Platform: i686 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: CORLIB AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=336730) --> (http://bugzilla.novell.com/attachment.cgi?id=336730) Archive with MonoDevelop 2.2 c# project demonstrating a bug in DateTime.ToString User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) DateTime.ToString(String, IFormatProvider) spells Russian months' names incorrectly namespace IFormatProviderBug { class MainClass { public static void Main (string[] args) { for(var i = 1; i <= 12; i++) { System.Console.WriteLine( new System.DateTime(2010, i, 1).ToString( "dd MMMM yyyy", new System.Globalization.CultureInfo("ru-RU"))); } } } } Reproducible: Always Steps to Reproduce: 1. Write a code converting month's numeric form to string, correctly spelled in phrase 2. Run it on Mono 3. Run in on .NET 3.5 Actual Results: 01 Январь 2010 01 Февраль 2010 01 Март 2010 01 Апрель 2010 01 Май 2010 01 Июнь 2010 01 Июль 2010 01 Август 2010 01 Сентябрь 2010 01 Октябрь 2010 01 Ноябрь 2010 01 Декабрь 2010 Expected Results: 01 января 2010 01 февраля 2010 01 марта 2010 01 апреля 2010 01 мая 2010 01 июня 2010 01 июля 2010 01 августа 2010 01 сентября 2010 01 октября 2010 01 ноября 2010 01 декабря 2010 Mono from trunk, r149530 on Debian 5.0 on VMware Server 2.0.2 NET 3.5 SP1 on Windows 7 7600 x32 English (Russian is being set as default non-unicode language) -- Configure bugmail: http://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
