2010-09-19 07:54:35 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2009-12-21 10:32:03 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
2010-09-19 07:54:35 +02:00
|
|
|
<script type='text/javascript' src='../src/_loader.js?debug'></script>
|
2009-12-21 10:32:03 +01:00
|
|
|
<script type='text/javascript'>
|
|
|
|
|
|
|
|
// set your time to Tehran time (GMT+03:30)
|
|
|
|
// (recreated on a Windows XP machine, after restarting)
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
var date = new Date();
|
|
|
|
var d = date.getDate();
|
|
|
|
var m = date.getMonth();
|
|
|
|
var y = date.getFullYear();
|
|
|
|
|
|
|
|
$('#calendar').fullCalendar({
|
|
|
|
year: 2010,
|
|
|
|
month: 2,
|
|
|
|
header: {
|
|
|
|
left: 'prev,next today',
|
|
|
|
center: 'title',
|
|
|
|
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay'
|
|
|
|
},
|
|
|
|
editable: true,
|
|
|
|
events: [
|
|
|
|
{
|
|
|
|
title: 'Yay Tehran!',
|
|
|
|
start: '2010-03-21' // should NOT show up on the 20th
|
|
|
|
//allDay: false // if uncommented, will show 1am
|
2009-12-22 09:41:38 +01:00
|
|
|
|
|
|
|
// HOWEVER, when set to 2010-03-21T00:30:00, this ends up being 2010-03-21T01:30:00
|
|
|
|
// should it be 2010-03-21T01:00:00 instead!!??
|
2009-12-21 10:32:03 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<style type='text/css'>
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin-top: 40px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 13px;
|
|
|
|
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
#calendar {
|
|
|
|
width: 900px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id='calendar'></div>
|
|
|
|
</body>
|
|
|
|
</html>
|