How can I change the Time format from 12 hr clock to 24 hr (military time) on the SfScheduler? Thanks
Hi Phill,
We have analyzed your requirement of customizing the TimeFormat to 24-hour format in the MAUI Scheduler control. This can be accomplished by setting the TimeFormat option to "HH:mm" in both DaysView and TimelineView. For your reference, kindly refer to the code snippet below.
Code snippet
|
<scheduler:SfScheduler x:Name="scheduler" View="Week" <scheduler:SfScheduler.TimelineView> <scheduler:SchedulerTimelineView TimeFormat="HH:mm" /> </scheduler:SfScheduler.TimelineView>
<scheduler:SfScheduler.DaysView> <scheduler:SchedulerDaysView TimeFormat="HH:mm" /> </scheduler:SfScheduler.DaysView>
</scheduler:SfScheduler> |
Please refer to our below UG documents to learn more details about Time text formatting.
https://help.syncfusion.com/maui/scheduler/timeline-views#time-text-formatting
https://help.syncfusion.com/maui/scheduler/day-week-views#time-ruler-text-formatting
We hope that this helps you. Please let us know if you need further assistance.
I don't see that property for the Agenda view, which is what I am using.
Hi Phil,
We need more information about your requirement to achieve in the Agenda view. Could you please share an image of the requirement? It will help us provide a better solution as soon as possible. Additionally, regarding the implementation, we do not have support for changing the time format for appointments in the view.
Regards,
SaiGanesh Sakthivel
I would like it to look like this:
Hi Phill,
Currently, we are analyzing your query. We will validate and update you with further details shortly. We appreciate your patience until then.
Hi Phill,
As of now, the .NET MAUI SfScheduler control does not have "Time Format support for the appointments in AgendaView" and we have logged a feature request "Appointment Template support for the AgendaView" for the same. We will implement this feature in any of our upcoming releases.
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters, including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.
Thank you for requesting this feature and helping us define it. We are always trying to make our products better, and feature requests like yours are a key part of our product growth efforts.
You can also communicate with us regarding the open features at any time using our Feature Report page.
We will prioritize the features in every release based on the demands, and we do not have an immediate plan to implement this feature since we are committed to already planned work. So, this feature will be available in any of our upcoming releases.
Please upvote this feature to make it our priority. While this feature itself is important, we will prioritize the features in every release based on user demands. So, this feature will be available in any of our upcoming releases.
Feedback link: https://www.syncfusion.com/feedback/39536/appointment-template-support-for-the-agendaview-in-the-sfscheduler
If you have any more specifications or suggestions for the feature request, you can add them as comments in the portal and cast your vote to make them count.
Hi Phill,
We are glad to announce that our Essential Studio 2023 Volume 4 Main Release V24.1.41 is rolled out and the feature implementation of “Time Format support for the appointments in AgendaView” is available for download under the following link.
Release note: https://help.syncfusion.com/maui/release-notes/v24.1.41?type=all#sfscheduler-features
Code snippet
|
<scheduler:SfScheduler.AgendaView> <scheduler:SchedulerAgendaView AppointmentTimeFormat="HH:mm tt"/> </scheduler:SfScheduler.AgendaView> |
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
SaiGanesh Sakthivel
Thank you. It works perfectly now.
Hi Phill,
We’re glad that your issue is resolved! Please let us know if you need further assistance. As always, we are happy to help you out.
Regards,
Vidyalakshmi M.