Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TwelveHourFormat Problem (Read 4086 times)
Nikemare
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jun 20th, 2007
TwelveHourFormat Problem
Jun 20th, 2007 at 2:20pm
Print Post  
Code
Select All
ctrlCalendar.TimetableSettings.StartTime = StartTime;
ctrlCalendar.TimetableSettings.CellTime = CellTime;
ctrlCalendar.TimetableSettings.EndTime = EndTime;

ctrlCalendar.TimetableSettings.TwelveHourFormat = State.Disabled;

ctrlCalendar.CurrentView = MindFusion.Scheduling.Compact.CalendarView.Timetable;
 



If i set values for StartTime, CellTime and EndTime the TwelveHourFormat is used. If i don't set values for StartTime, CellTime, EndTime the 24h Format is used.
  
Back to top
 
IP Logged
 
Nikemare
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jun 20th, 2007
Re: TwelveHourFormat Problem
Reply #1 - Jun 21st, 2007 at 7:16am
Print Post  
Some additional info:

Starttime = 7:05
Celltime = 55 Minutes
EndTime = 23:35
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TwelveHourFormat Problem
Reply #2 - Jun 21st, 2007 at 8:29am
Print Post  
Thank you, our developers will look into this ASAP.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: TwelveHourFormat Problem
Reply #3 - Jun 25th, 2007 at 9:46am
Print Post  
Hi,

Try to set the TimetableSettings.GeneralFormat to "H:mm tt" as well. It appears that the TwelveHourFormat property is only used when the divisions in the timeline are rounded. Otherwise the GeneralFormat property is used.

Meppy
  
Back to top
 
IP Logged
 
Nikemare
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jun 20th, 2007
Re: TwelveHourFormat Problem
Reply #4 - Jun 25th, 2007 at 11:00am
Print Post  
Thank you, this has solved my problem!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint