DayView spills late events over into the next day

5 posts, 0 answers
  1. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002

    Posted 29 May 2017 Link to this post

    Hi,

    When making an appointment 

    like

    - StartDate = new DateTime(DateTime.Today.Year,DateTime.Today.Month, DateTime.Today.Day, 20,0,0),
    - EndDate =  new DateTime(DateTime.Today.Year,DateTime.Today.Month, DateTime.Today.Day, 22,00,0),

    or

    - StartDate = DateTime.Today.AddHours(20),
    - EndDate =  DateTime.Today.AddHours(22),

     

    it spills over into tomorrow that now gets an appointment going from 6:00 - 22:00.

     

    If I change the end-time to 21:59 it works as expected.

    If I specify the datetime kind to either UTC/Local/etc, it still fails.

    If I change the code below from 22 to 23, it still fails

    Control.DayView.DayEventsViewStyle.StartTime = 3600 * 6 * 1000;
    Control.DayView.DayEventsViewStyle.EndTime = 3600 * 22 * 1000;

  2. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002

    Posted 29 May 2017 in reply to Tim Link to this post

    To clarify, this is an iOS observation.

    I find the same problem in your QSF app, in the DayView example, with the "Watch a movie" appointment

  3. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002
  4. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 31 May 2017 Link to this post

    Hi Tim,

    Thank you for the detailed explanation and the resources provided. I have managed to reproduce the behavior and indeed it is a bug so I have logged it in our internal system. You can track it on the following link from our Ideas & Feedback portal - Calendar: When in DayView mode, some appointments background overflow to the next day. I have updated your points accordingly. 

    When testing the behavior with the previous version of the controls - 2017.2.503, I was not able to reproduce the undesired effects. I suggest you give the older version a try until we come up with a fix.

    Tim, we came across some other bugs in the DayView mode of the RadCalendar lately so we are currently working on improving the overall behavior of the feature and fixing the undesired behaviors. I suggest you subscribe to the different bug reports so that you are notified when fixes are available.
     
    Have a great rest of the week.

    Regards,
    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002

    Posted 31 May 2017 Link to this post

    Thanks Stefan.
Back to Top