in year wiev event becomes february or march to my own popup

i want to make my own popup for adding items. I added year wiew my scheduler in year wiew when i clicking a day from a month selected month always comes february and march. What is the problem please help me ?

Hi,
Can you post an example where the issue can be reproduced?

scheduler.attachEvent(“onClick”, function (event_id, native_event_object){
//send event id and find date
//0,0 -> means there is no start or end date
parent.openpopup(‘popup1’,‘no date’,event_id,0,0);
});

in year wiev tab when click on a day it always brings me february and march all of year not proper month coming

scheduler.attachEvent(“onEmptyClick”, function (date, native_event_object){
//set event id =0 for insert
var eventid=0;
//0,0 ->maens there is no start or end date
parent.openpopup(‘popup1’,date,eventid,0,0);
});

sorry the right code should be onEmptyClick… the date comes wrong february and march only

in year tab only