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

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

1 Answer 18 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 16 Oct 2012, 08:03 PM
Hello,

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?

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 19 Oct 2012, 03:45 PM
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,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TimeBar
Asked by
Rob
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or