Home Unanswered Active Tags New Question

24-hour date format in event display

Hi Dan,

Please let me know if it is possible to display the time displayed in the event in 24-hour format.

Eg. XYZ (17:00 - 18:00)

Please point me to any documentation you have for this.

Thanks

Raghav

Asked by Anonymous 4 years ago.
Replies
The time format in the event is determined by the current culture. If you change the pages Culture to de-DE (German) for example, it will render in 24-hour format.

The other option is to handle BeforeEventRender event and change e.InnerHTML according to your needs (see http://www.daypilot.org/custom-event-rendering.html for details)..
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java