Hi,
I use the RadScheduleView from RadControls for WPF Q2 2012
If I do not define a TimerulerMajorTickStringFormat for a ViewDefinition I whould expect that the ShortTime Format of the CurrentCulture is used to generate the time label. But If I use a current culture with a 24h display like german it only shows 12h.
See attachment.
It looks like a bug to me since it makes not much sense to show only 12h but no AM/PM like you can see on my screenshot.
To work around this I have Bind the StringFormat to a property that returns this:
Return "{0:" + CultureInfo.CurrentCulture.DateTimeFormat.ShortTimePattern + "}"
best regards,
David
I use the RadScheduleView from RadControls for WPF Q2 2012
If I do not define a TimerulerMajorTickStringFormat for a ViewDefinition I whould expect that the ShortTime Format of the CurrentCulture is used to generate the time label. But If I use a current culture with a 24h display like german it only shows 12h.
See attachment.
It looks like a bug to me since it makes not much sense to show only 12h but no AM/PM like you can see on my screenshot.
To work around this I have Bind the StringFormat to a property that returns this:
Return "{0:" + CultureInfo.CurrentCulture.DateTimeFormat.ShortTimePattern + "}"
best regards,
David