Hi,
I use scheduler, an i try to configure the format of date end of event recurring to ‘%d/%m/Y’.
I set : scheduler.config.repeat_date = “%d/%m/%Y”;
but the config is not loaded, it always the format by default …
The other paramters are ok, but not repeat_date … I don’t understand …
I have missed anything ? Can you help me ?
See my config :
scheduler.plugins({
recurring: true,
readonly: false,
limit: true,
year_view: true,
key_nav: true,
minical: true,
active_links: true,
serialize: true
});
scheduler.config.lightbox.sections=[
{name:"description", height:70, map_to:"text", type:"textarea", focus:true},
{name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
{name:"time", height:72, type:"calendar_time", map_to:"auto"}
];
scheduler.config.include_end_by = true;
scheduler.config.repeat_precise = true;
scheduler.config.date_format = "%m/%d/%Y %H:%i";
scheduler.config.repeat_date = "%d/%m/%Y";
scheduler.config.limit_start = new Date();
scheduler.i18n.setLocale("fr");
scheduler.init('scheduler_availabilities', new Date(), "year");
scheduler.attachEvent("onDataRender", function () {
update_stat();
});
scheduler.parse(<?php echo $block->getAvailabilitiesValue(); ?>, 'json');