Hello,
when I check an event in my lightbox and calendar it has 2 hours added to both the start time and end time. The time saved in the database is correct but the time in the lightbox and calendar is not.
For example, if it says it’s saved as 6pm on the database it comes out as 8pm or 20:00 when displayed in the lightbox and calendar.
Here is a partial of my calendar/lightbox code:
[code]
function init() {
// original
// *****************************************************************************************
scheduler.init("scheduler_here", new Date(), "month");
//scheduler.load("/Home/Data","json");
scheduler.load("/Calendar/Data2", "json");
// set the label for the year tab
scheduler.locale.labels.year_tab = "Year";
// allow editing of event
scheduler.config.details_on_create = true;
scheduler.config.details_on_dblclick = true;
// readonly mode off
scheduler.config.readonly_form = false;
// change from military time to standard time in the lightbox - %h is hour based on 12hr clock, %i is minutes with a leading 0, %A displays the AM and PM
//scheduler.templates.time_picker = scheduler.date.date_to_str("%h:%i %A");
// change the time intervals in the lightbox to 30 minutes rather than the default of 5
scheduler.config.time_step = 30;
// create a mini calendar
function show_minical() {
if (scheduler.isCalendarVisible())
scheduler.destroyCalendar();
else
scheduler.renderCalendar({
position: "dhx_minical_icon",
date: scheduler._date,
navigation: true,
handler: function (date, calendar) {
scheduler.setCurrentView(date);
scheduler.destroyCalendar()
}
});
}[/code]
I think it might be on my providers end since when I test it locally at home it seems to work fine. Is there anything I can do or get my provider to check to see if it’s on their end?
Thanks,
Alfredo