This is a migrated thread and some comments may be shown as answers.

All Day checkbox and Recurrence Rule

2 Answers 12 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 13 Mar 2019, 02:43 PM

Noticed that when we create an item in the Scheduler and check the All Day checkbox the resulting Recurrence Rule adds an extra day. This leads to an extra day showing up in the Scheduler interface. We don't set any specific timezone on the scheduler, we actually hide all the timezone options in the interface as it just confuses our users:

        //hide the timezone selections
        e.container.find("[data-role=timezoneeditor]").hide();
        e.container.find("[data-role=timezoneeditor]").parent('div').hide();
        $('label[for="StartTimezone"]').hide();
        $('label[for="StartTimezone"]').parent('div').hide();
        e.container.find("label[for='EndTimezone']").hide();
        e.container.find("label[for='EndTimezone']").parent('div').hide();

For example I create an event that starts on March 28, 2019, repeats daily and ends on Mar 30 3019 and check "All Day" checkbox - the resulting recurrence rule is saved as FREQ=DAILY;UNTIL=20190331T025959Z. In the scheduler we see the event on the 31st of March.

I can send you the code we have for the CustomEditortemplate.cshtml. The clocks moved forward an hour this month (now Atlantic Daylight Time ADT) if that provides a clue, can't be assured if this was happening before the time change or not though...

Also start and end times are saved as 2019-03-28 00:00:00.000 - zeros for the time portion in our SQL Server - when I look at the models in EventSchedule_Create([DataSourceRequest] DataSourceRequest request, IEnumerable<EventScheduleViewModel> models) the start time and end time are 12:00:00 AM so this might be Entity Framework or SQL server ?

 

2 Answers, 1 is accepted

Sort by
0
Joana
Telerik team
answered on 15 Mar 2019, 08:49 AM
Hello Simon,

I performed several tests on the recurring functionality and I am not able to observe such behavior. 

Could you please isolate the issue in a simple isolated project where we could examine the issue on our side and provide more useful information? You could open a support thread where you could share the code.

I am looking forward to your reply.

Regards,
Joana
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Simon
Top achievements
Rank 1
answered on 18 Mar 2019, 05:15 PM

I have uploaded a zipped project demonstrating the issue we're seeing in a support ticket, id 1400994.

 

Thanks

Tags
Scheduler
Asked by
Simon
Top achievements
Rank 1
Answers by
Joana
Telerik team
Simon
Top achievements
Rank 1
Share this question
or