Persian CultureInfo ! - by HMortaji

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


6
0
Sign in
to vote
ID 507262 Comments
Status Closed Workarounds
Type Bug Repros 3
Opened 11/1/2009 7:42:58 AM
Access Restriction Public

Description

In fa-IR CultureInfo all DateTime Format Was Wrong, It Is That Because Of The Information it represents Is Arabic Format Not Persian Format
and it's Calendar should be PersianCalendar Not GregorianCalendar.
Sign in to post a comment.
Posted by Microsoft on 5/14/2010 at 11:26 AM
The default calendar has not been updated in .NET 4. .NET Framework 4 gets its data from Windows, and I have opened a corresponding bug in their database. As .NET is not tracking this issue, I am going to resolve it as external.

Thanks,
Melitta
Base Class Libraries
Posted by Parham. _ on 2/4/2010 at 3:20 AM
Microsoft Globalization Team, Would you please let us know what issues have been fixed in .Net 4? It seems there is no change in beta 2.
The main issue (as requested earlier from 2004 on MSConnect) is that the PersianCalendar is not the default calendar of fa-IR culture or at least in OptionalCalendars of that culture: Here are previous requests on Connect:
https://connect.microsoft.com/VisualStudio/feedback/details/94130/jalaali-calendar-should-be-default-calendar-for-fa-ir-culture#
https://connect.microsoft.com/VisualStudio/feedback/details/354107/persiancalendar-should-be-the-default-calendar-or-at-least-an-optional-calendar-for-fa-ir-culture#

With the previous versions of the framework we are using some kind of HACK! on the framework (using reflections) to set the PersianCalendar as the default calendar for the fa-IR cultureinfo! but it seems that something is changed in the v4 which I mentioned here: http://social.msdn.microsoft.com/Forums/en-SG/netfxbcl/thread/88a50c38-c478-4c77-9c71-6589a1c6299e

Thank you.
Posted by Microsoft on 11/10/2009 at 6:56 PM
Thank you for reporting the problem with the Persian calendar month and day names. Some of the issues have been fixed in Windows 7 and Dev10. Please let us know if you have other issues.

Microsoft Globalization Team
Posted by Microsoft on 11/5/2009 at 2:02 AM
Thanks for your feedback. We are routing this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.

Thank you,
Visual Studio Product Team
Posted by Microsoft on 11/2/2009 at 12:50 AM
Thank you for your feedback, We are currently reviewing the issue you have submitted.