hi, i try to translate charts of highcharts.com to Jalali Calendar. highchart use unixtime stamp for point and tick position . but when i convert dates to jalali i have a big problem.
current year in jalali is 1391 and current year in Gregorian is 2012 . by default high chart using time stamp so :
var date = new Date() - new Date(1970,01,01,0,0,0,0);
var date = new Date();
and the result is 42 year diffrent between unix timestamp and Gregorian . but in jalali the problem come :
1391 - 1970 = -579 and highchart get error.
how can i fix problem of unixtime stamp and other calandars ?
can i write getTime Method that work with jalali date of 1970 ? (1348,10,11) ?
sorry for my bad english language.