My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1021: 24h Support in day/week view
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jul 2011


Sign in to add a comment
 
Reported by freaky-s...@gmx.net, Jul 4, 2011
Hi,

it would be great if you could offer support for other time formats like 24h system in day/week view. 

Could you please provide a property to change the time format, so I can get rid of the AM PM times?

It's important to customize the time format.
Jul 5, 2011
#1 das...@gmail.com
RTFM :)

http://arshaw.com/fullcalendar/docs/text/

Example:

$('#calendar').fullCalendar({
	firstDay: 1,
	firstHour: 8,
	minTime: 7,
	maxTime: 23,
	axisFormat: 'H',
  timeFormat: "H:mm{ '—' H:mm}",
  monthNames: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
  monthNamesShort: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
  dayNames: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
  dayNamesShort: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
  titleFormat: {
    month: 'MMMM yyyy',
    week: "d. [ MMMM yyyy]{ '—' d. MMMM yyyy}",
    day: 'dddd, d. MMMM yyyy'
  },
  columnFormat: {
    month: 'ddd',
    week: 'ddd d.',
    day: 'dddd d. M'
  }
});
Jul 6, 2011
Project Member #2 althaus.it
(No comment was entered for this change.)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting