All Day checkbox and Recurrence Rule

3 posts, 0 answers
  1. Simon
    Simon avatar
    35 posts
    Member since:
    Mar 2016

    Posted 13 Mar Link to this post

    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. Joana
    Admin
    Joana avatar
    205 posts

    Posted 15 Mar Link to this post

    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.
  3. Simon
    Simon avatar
    35 posts
    Member since:
    Mar 2016

    Posted 18 Mar in reply to Joana Link to this post

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

     

    Thanks

Back to Top