From de10f54efb03adb96c79cf682bf2ec209f575243 Mon Sep 17 00:00:00 2001
From: Adam Shaw
Date: Mon, 1 Jun 2009 04:51:34 +0000
Subject: [PATCH] at version 1.2
---
Makefile | 3 +-
changelog.txt | 7 +++-
docs/index.txt | 32 +++++++++++++---
fullcalendar/fullcalendar.css | 37 ++++++++++++------
fullcalendar/fullcalendar.js | 72 +++++++++++++++++++++++++++--------
test/locale.html | 2 +-
test/methods.html | 2 +
test/options.html | 10 +++--
test/sources.html | 8 ++++
9 files changed, 133 insertions(+), 40 deletions(-)
diff --git a/Makefile b/Makefile
index 013e141..722b346 100644
--- a/Makefile
+++ b/Makefile
@@ -20,13 +20,14 @@ zip:
then cp build/fullcalendar.min.js build/fullcalendar-${VER}/fullcalendar;\
else echo "\n!!! WARNING: fullcalendar.js not yet minified.\n";\
fi
- @rm -rf `find build -type d -name .svn`
+ @rm -rf `find build/fullcalendar-* -type d -name .svn`
@for f in build/fullcalendar-${VER}/fullcalendar/*.js; do\
sed -i "s/* FullCalendar/& v${VER}/" $$f;\
sed -i "s/* Date:/& ${DATE}/" $$f;\
sed -i "s/* Revision:/& ${REV}/" $$f;\
done
@cd build; zip -r fullcalendar-${VVER}.zip fullcalendar-${VVER}
+ @mkdir -p dist
@mv build/fullcalendar-${VER}.zip dist
@rm -rf build/fullcalendar-${VER}
@rm -f build/fullcalendar.min.js
diff --git a/changelog.txt b/changelog.txt
index b8197f2..b369c73 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -8,6 +8,7 @@ version 1.2 (5/31/09)
- better date formatting ($.fullCalendar.formatDate)
- multiple 'event sources' allowed
- dynamically add/remove event sources
+ - options for prevYear and nextYear buttons
- docs have been reworked (include addition of Google Calendar docs)
- changed behavior of parseDate for number strings
(now interpets as unix timestamp, not MS times)
@@ -17,9 +18,13 @@ version 1.2 (5/31/09)
- events from previous months sticking when clicking prev/next quickly
- Google Calendar API changed to work w/ multiple event sources
- can also provide 'className' and 'draggable' options
- - date utilties moved from $ properties to $.fullCalendar
+ - date utilties moved from $ to $.fullCalendar
+ - more documentation in source code
- minified version of fullcalendar.js
- test suit (available from svn)
+ - top buttons now use
diff --git a/test/options.html b/test/options.html
index 06a75af..2024aa0 100644
--- a/test/options.html
+++ b/test/options.html
@@ -26,7 +26,7 @@ $(document).ready(function() {
draggable: true,
- fixedWeeks: false,
+ fixedWeeks: true,
abbrevDayHeadings: false,
@@ -34,10 +34,14 @@ $(document).ready(function() {
titleFormat: 'm/Y', //'n/Y', //'M y',
//buttons: false,
- buttons: { today:false, prev:"prev", next:"next" },
+ //buttons: { today:false },
+ //buttons: { today:false, prevMonth:"prev", nextMonth:"next" },
+ //buttons: { today:true, prevMonth:false, nextMonth:"next" },
+ //buttons: { prevYear:true, nextYear:true },
+ //buttons: { today:true, prevYear:"py", prevMonth:true, nextMonth:true, nextYear:"ny" },
showTime: true,
- timeFormat: 'H:i', //'ha', //'GA', //'gX',
+ timeFormat: 'ha', //'H:i', //'GA', //'gX',
eventDragOpacity: .5,
eventRevertDuration: 2000,
diff --git a/test/sources.html b/test/sources.html
index c85992b..2d11848 100644
--- a/test/sources.html
+++ b/test/sources.html
@@ -15,10 +15,18 @@
}
+
+
+
+