This project is read-only.
1
Vote

error in creating a new instance by another date object

description

There's an error when I create a new PersianDate by passing another Date or PersianDate Object.
It seems like the IntlDate.js file on line 185 must be changed to:
var msTicks = (typeof param1.getTime === "function") ? param1.getTime() : param1 - 0;

comments