Using IntlDate

Mar 28, 2013 at 7:01 PM
Hi,
I'm glad to see this library for changing datetime into Persian date.
Thank you Mr. K Rad for creating.

I wanted to use this library for highcharts in order to change the date. but I've got some problems!

I've tested it in IE 9 and I have this error:
ReferenceError(5009): 'console' is undefined

I commented the line console.warn("'new' keyword not used on PersianDate()"); in the function PersianDate but after that I got this error:
Error(28): Out of stack space


I also tested it in chrome version 6.0.437.3 and I had this error:
TypeError(0): Object #<a PersianDate> has no method 'base'


I tried it in firefox 19.0.2 but it worked fine and gave me the Persian date.

I wanted to know what can I do?

Thanks
Coordinator
Apr 2, 2013 at 8:19 PM
Hi,

Can you post a code that can reproduce it?

Thanks,
Omid
Apr 2, 2013 at 8:56 PM
Edited Apr 2, 2013 at 9:19 PM
I don't think so...
I needed a library. Someone introduced this library for me. but it didn't worked for me and I changed the library.

Actually I used your sample code and got those errors.

Thanks
Coordinator
Apr 14, 2013 at 1:55 AM
I would look into this if I know about the configuration of your system (browser/version etc) and a code snippet (from the sample code if that is the case) that would reproduce the error.

Thanks,
Omid