FullCalendar is a jQuery plugin that provides a full-sized, drag & drop calendar. It uses AJAX to fetch events on-the-fly for each month and is easily configured to use your own feed format (an extension is provided for Google Calendar). It is visually customizable and exposes hooks for
... [More] user-triggered events (like clicking or dragging an event).
Source code and development has been moved to GitHub: http://github.com/arshaw/fullcalendar. However, the issues page is staying where it is for the time being.
Project homepage: http://fullcalendar.io/ [Less]
Many file formats and standards use the ISO 8601 date format (e.g. 2007-01-14T20:34:22+00:00) to store dates in a neutral, unambiguous manner. This simple module parses the most common forms encountered and returns datetime objects.
>>> import iso8601
... [More] iso8601.parse_date("2007-06-20T12:34:40+03:00")
datetime.datetime(2007, 6, 20, 12, 34, 40, tzinfo=)
datetime.datetime(2007, 6, 20, 12, 34, 40, tzinfo=) [Less]
MultiFieldDateDescriptionThis is a Ruby on Rails plugin for use with tables/models that need to allow incomplete dates (e.g., just the year and month or just the month and day). Requires that the table have four fields: year, month, day, and full date. When the year, month, and day fields are
... [More] present, the full date field is updated.
There are two ways to use this plugin:
acts_as_multi_field_date only allows one date_field per model. e.g.,
class Birth < ActiveRecord::Base
acts_as_multi_field_date :date_field => 'birth_date'
#assumes year, month, and day fields are 'year', 'month', and 'day' by default.
#can be changed:
# acts_as_multi_field_date :date_field => 'birth_date', :day_field => 'bday'
endmulti_field_date, on the other hand, allows multiple dates in a model, e.g.,
class Person < ActiveRecord::Base
multi_field_date :birth, :date_field => 'birth_date', :year_field => 'birth_year',
:month_field => 'birth_month', :day_field => 'birth_day'
multi_field_date :death, :date_field => 'death_date', :year_field => 'death_year',
:month_field => 'death_month', :day_field => 'death_day'
endIt also includes a helper method for displaying a partially completed date, and some helpers for generating arrays for HTML select menus. Includes rather extensive unit test coverage (requires SQLite3).
Installationscript/plugin install http://rails-multifielddate-plugin.googlecode.com/svn/plugins/multi_field_dateThen run rake doc:plugins to generate RDoc documentation.
See also: README [Less]