Open shahidkarimi opened 10 years ago
Yeah, its possible
If you get the events_source as function, you receive 3 parameters...
start, end, and timezone.
EX:
var calendar = $("#calendar").calendar(
{
tmpl_path: "/tmpls/",
events_source: function (start, end, timezone) {
console.log("Time start: "+start+" & Time end: "+end + " & Timezone: "+timezone);
return [];
}
});
And with that, you can adjust the time to the timezone desired ;)
where did you put it calendar.js?
In the database my profile has Australia/ACT time zone. Suppose I login from a computer from London with Europe/london time zone. My calender should draw according to australia/ACT.
How can we do that?