johnveon / datejs

Automatically exported from code.google.com/p/datejs
Other
0 stars 0 forks source link

persian months, days, first day of week, first month, ... do not set properly #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. see the code in date-fa-IR.js
2.
3.

What is the expected output? What do you see instead?
days of the week:
1.شنبه -> (Saturday)
2.یکشنبه -> (Sunday)
3.دوشنبه -> (Monday)
3.سه شنبه -> (Tuesday)
4.چهارشنبه -> (Wednesday)
5.پنجشنبه -> (Thursday)
6.جمعه -> (Friday)
small name of the days:
1.ش
2.ی
3.د
4.س
5.چ
6.پ
7.ج
months:
1.فروردین
2.اردیبهشت
3.خرداد
4.تیر
5.مرداد
6.شهریور
7.مهر
8.آبان
9.آذر
10.دی
11.بهمن
12.اسفند
small name of the months:
1.فر
2.ار
3.خد
4.تی
5.مر
6.شه
7.مه
8.آب
9.آز
10.دی
11.به
12.اس

Start of week:
شنبه  -> (Saturday)

What version of the product are you using? On what operating system?
Alph-1 on windows

Please provide any additional information below.

Persian uses jalali calendar that you can find it descriptions in remark 
section of this page: 
http://msdn.microsoft.com/en-us/library/system.globalization.persiancalendar(v=v
s.110).aspx

Original issue reported on code.google.com by oerp8...@gmail.com on 27 Jun 2014 at 10:07