Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Show 24H format instead of AM/PM (Read 2539 times)
AncaZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Feb 16th, 2017
Show 24H format instead of AM/PM
Feb 28th, 2017 at 3:05pm
Print Post  
Hello,

Is it possible to show the calendar in the time format of 24H instead of AM/PM?
I found
Code (Java)
Select All
getTimetableSettings().setShowAM(Boolean.valueOf(false)); 

... but this just hides the AM/PM.. does not show the time as for example: "15.50"

Thank you.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Show 24H format instead of AM/PM
Reply #1 - Mar 1st, 2017 at 8:09am
Print Post  
You should use setTwelveHourFormat:

Code
Select All
calendar.getTimetableSettings().setTwelveHourFormat(false); 


Regards,
Meppy
  
Back to top
 
IP Logged
 
AncaZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Feb 16th, 2017
Re: Show 24H format instead of AM/PM
Reply #2 - Mar 1st, 2017 at 8:18am
Print Post  
It works. Thank you Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint