We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

24hr?

Thread ID:

Created:

Updated:

Platform:

Replies:

148267 Oct 12,2019 04:30 PM UTC Oct 14,2019 07:34 AM UTC Xamarin.Forms 3
loading
Tags: SfCalendar
Björn
Asked On October 12, 2019 04:30 PM UTC

Im using SfCalendar for a small school project, since i live in Sweden i don't want to use am/pm, but rather 24hr based.
I got i working everywhere but in the InlineEvents, how can i get the to display 24hr? 
Where i input and use and display the date and/or time i just format it to the correct format, but i cannot find where i change it for the InlineEvent displays.

Lukasz
Replied On October 12, 2019 06:57 PM UTC

You can do this by : StartTime.ToString("HH:mm") in c# or Text="{Binding StartTime, StringFormat='0:H:mm'}" in Xaml. 

Björn
Replied On October 13, 2019 11:16 AM UTC

Hmm ok, Where would that be placed?
Tried to format where i transfer the Api response to the CalendarInlineEvent, but that didn't work. :/

Here's my code:
https://github.com/dallebull/XamScheduler

Indumathi Ravichandran [Syncfusion]
Replied On October 14, 2019 07:34 AM UTC

Hi Björn, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information we have checked your requirement is “Set the TimeFormat for InlineEvents in Calendar control”. As of now there is no support to achieve this requirement in Calendar control. It can be achieved by using CustomView in calendar. Please, find the User Guide link for the customize the InlineView
 
 
We suggest you to use TimeFormat property of AgendaView for achieving your requirement by using Schedule control, please find the User Guide documentation link for the same, 
 
 
We hope that this helps you. Please let us know if you need any further assistance. 
 
Regards, 
Indumathi R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon