The constructor with (year, month, day, hr, min, sec) arguments does not set the "dow" correctly.


When I create a new PersianDate instance like this:
new PersianDate(year, month, day);
and print the object, the day of week "dow" property is incorrect.
There's no problem with other constructors.


ehsan89 wrote Jan 4, 2014 at 9:01 AM

It seems like changing the line 390 of the IntlDate.js file to the following works:
this.dow = date.getDay();

wrote Apr 15, 2014 at 10:12 PM