You are here

function calendar_load_date_api in Calendar 5

Helper function for loading date_api.

19 calls to calendar_load_date_api()
calendar_event_date in ./calendar_api.inc
Formats a GMT timestamp to local date values using time zone offset supplied. All timestamp values in event nodes are GMT and translated for display here.
calendar_get_calendar in ./calendar_api.inc
Adapted from event_get_calendar() function in the event module Reworked to remove dependency on event module
calendar_get_nodes in ./calendar.module
The workhorse function that takes the beginning array of items and alters it to an array of calendar nodes that the theme can handle.
calendar_get_paths in ./calendar.module
calendar_handler_arg_type in ./calendar.module
Custom views handler for all calendar arguments.

... See full list

File

./calendar.module, line 71
Adds calendar filtering and displays to Views.

Code

function calendar_load_date_api() {
  include_once drupal_get_path('module', 'date_api') . '/date.inc';
  include_once drupal_get_path('module', 'date_api') . '/date_timezones.inc';
}