Formatting/Changing intervals to end before the next one starts...

2 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 16 Oct 2012 Link to this post


    Please see the attached image.  In certain zooms, clients are complaining that the displayed dates of the RadTimeBar intervals are misleading because the end of one interval is the start of the next...

    The example shows a week that runs from "Sunday, January 29 @ 00:00:00" until "Saturday, February 4 @ 23:59:59", not "Sunday February 5 @ 00:00:00" as indicated by the control...

    Is there some way to format this data or is this a bug that can be fixed?
  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 19 Oct 2012 Link to this post

    Hello Rob,

    The result that you describe is by design. All intervals in the timeBar control are defined by a start and end date - the end date itself is excluded from the range. That is, all ranges in the timeBar control are interpreted as [start; end).

    We already have the task for customization of the predefined interval types on our ToDo list. You can track the progress on the task and vote for it in our PITS system.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top