mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-10 00:30:28 +08:00
v1.4.1
This commit is contained in:
@@ -45,5 +45,24 @@ Here is a list of available options:
|
||||
* **className** - CSS class to attach to each event from this Google Calendar
|
||||
|
||||
* **editable** - whether to allow dragging/resizing (default: ``false``)
|
||||
|
||||
* **currentTimezone** - a string like "America/Chicago". Consult http://php.net/manual/en/timezones.php for a full list.
|
||||
|
||||
See *gcal.html* in the *examples* directory for a complete example.
|
||||
See *gcal.html* in the *examples* directory for a complete example.
|
||||
|
||||
|
||||
Timezones Gotchas
|
||||
-----------------
|
||||
|
||||
Sometimes it can be confusing as to why FullCalendar displays event times differently
|
||||
than the Google Calendar interface. There are the two factors involved in this:
|
||||
|
||||
* **the calendar's timezone**, accessed through "Calendar settings" after clicking the arrow next to the calendar's name
|
||||
|
||||
* **your Google Account's timezone**, accessed through the "Settings" link at the top right
|
||||
of the Google Calendar screen (near the "Sign out" link)
|
||||
|
||||
When both timezones are the same, you should have no problems. When they are different, FullCalendar will display
|
||||
times in the *calendar's* timezone. Thus, times will be different than what you see in the Google Calendar interface
|
||||
because they are being adjusted to the GMT of the calendar. The solution is to use the ``currentTimezone`` option.
|
||||
If this is set to the same timezone as your Google Account, all dates should appear consistent.
|
||||
|
||||
@@ -81,6 +81,9 @@ Basic Options
|
||||
**allDayDefault**: Boolean, *Default*: ``true``
|
||||
Determines the default value for each :ref:`CalEvent's <CalEvent>` ``allDay`` property,
|
||||
when it is unspecified.
|
||||
|
||||
**weekends**: Boolean, *Default*: ``true``
|
||||
Whether to include Saturday/Sunday columns in any of the views.
|
||||
|
||||
**weekMode**: String, *Default*: ``'fixed'``
|
||||
Determines the number of weeks displayed in a month view.
|
||||
|
||||
Reference in New Issue
Block a user