My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1153: Is this a bug ( not showing 12:00:00 AM in agenda week)
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Oct 2011


Sign in to add a comment
 
Reported by choboJ...@gmail.com, Oct 20, 2011
Hi

I am playing around with the agenda view and I found that if I do from 11:00pm to 12:00 am the 12:00am will not show in the title.

http://gyazo.com/ce4eee4774a47ea14732db4c93b4c4ef.png

Notice how the first one goes from 11:00 Pm to 11:59PM and shows but the next 2 go from 11:00 PM to 12:00 Am and do not show.

I then tried with one of the example files and I get the same thing.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' />
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.print.css' media='print' />
<script type='text/javascript' src='../jquery/jquery-1.5.2.min.js'></script>
<script type='text/javascript' src='../jquery/jquery-ui-1.8.11.custom.min.js'></script>
<script type='text/javascript' src='../fullcalendar/fullcalendar.min.js'></script>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.js'></script>

<script type='text/javascript'>

	$(document).ready(function() {
	
		$('#calendar').fullCalendar({
		defaultView : 'agendaWeek',
			header: {
				left: '',
				center: '',
				right: ''
			},
			allDaySlot: false,
			editable: true,
			columnFormat:
			{
				 agendaWeek: "ddd"
			},
			events: [
				{
					id: 998,
					title: 'Will NOT Show End Date',
					allDay: false,
					start: '10/17/2011 11:00:00 PM',
					end: '10/17/2011 12:00:00 AM'
				},
				{
					id: 999,
					title: 'Will Show End Date',
					allDay: false,
					start: '10/16/2011 11:00:00 PM',
					end: '10/16/2011 11:59:59 PM'
				}
			]
		});
		
	});

</script>
<style type='text/css'>

	body {
		margin-top: 40px;
		text-align: center;
		font-size: 14px;
		font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
		}

	#calendar {
		width: 900px;
		margin: 0 auto;
		}

</style>
</head>
<body>
<div id='calendar'></div>
</body>
</html>

Thanks
Oct 21, 2011
Project Member #1 althaus.it
Having events end on the same day they have to end at 11:59 PM as 12:00 PM aka 0:00 is already the next day.

See end property at http://arshaw.com/fullcalendar/docs/event_data/Event_Object/

I think this is somehow related to not showing the end time and I'm pretty sure that's reacting as intended.
Status: Done
Sign in to add a comment

Powered by Google Project Hosting