/[drupal]/contributions/modules/date/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/date/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (show annotations) (download)
Fri Feb 15 13:23:53 2008 UTC (21 months, 1 week ago) by karens
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC6, DRUPAL-6--2-0-RC5, DRUPAL-6--2-0-RC4, DRUPAL-6--2-0-RC3, DRUPAL-6--2-0-RC2, DRUPAL-6--2-0-RC1, DRUPAL-6--2-0-BETA2, DRUPAL-6--2-0-BETA3, DRUPAL-6--2-0-BETA4, DRUPAL-6--2-4, DRUPAL-6--2-3, DRUPAL-6--2-2, DRUPAL-6--2-1, DRUPAL-6--2-0, DRUPAL-6--1-0-BETA, DRUPAL-6--2-0-BETA, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-6--2
Changes since 1.9: +0 -29 lines
File MIME type: text/plain
Remove database timezone handling by rolling back to previous version that used offsets instead. Based on problems noted in #218479 and #220663, we cannot count on database timezone handling to be available in MYSQL or work consistently with the timezone names that PHP uses in POSTGRES, so trying to do timezone conversions in the database is not going to work.

Synch with D5.2 version.
1 ==================================================================================
2 Date API Installation instructions:
3 ==================================================================================
4 1) If you have an earlier version of the Date module on your system, empty the
5 date folder out completely. The files in version 2 have different names and are
6 located in different places.
7
8 2) Download the whole package of files from http://drupal.org/project/date.
9
10 3) Upload the date files to the modules directory. The package includes files
11 needed by the Date API, and optional modules to to create CCK date fields.
12
13 4) Go to admin/build/modules and enable the needed modules from the Date/Time group.
14
15 You should end up with a structure like:
16
17 /drupal/sites/all/modules/date/date_api.info
18 /drupal/sites/all/modules/date/date_api.install
19 /drupal/sites/all/modules/date/date_api.module
20 ...
21
22 /drupal/sites/all/modules/date/date/date.info
23 /drupal/sites/all/modules/date/date/date.install
24 /drupal/sites/all/modules/date/date/date.module
25 ...
26
27 /drupal/sites/all/modules/date/date_copy/date_copy.info
28 /drupal/sites/all/modules/date/date_copy/date_copy.module
29 ...
30
31 /drupal/sites/all/modules/date/date_php4/date_php4.inc
32 /drupal/sites/all/modules/date/date_php4/date_php4_lib.inc
33 ...
34
35 ==================================================================================
36 Older PHP versions
37 ==================================================================================
38 If you are using PHP 4 or PHP 5.0 or 5.1, native date handling won't work right.
39 Install the Date_PHP4 module to enable wrapper functions so this code will work
40 in old PHP versions.
41
42 ==================================================================================
43 Enable Date Timezone
44 ==================================================================================
45 In most cases, you should enable the Date Timezone module any time you use the
46 Date API to be able to set the site and user timezone names. It is not enabled by
47 default in case another module is setting timezone names in the database.
48
49 Once you have enabled it, go to admin/settings/date-time and set the default
50 site timezone name. If you are using user timezones, go to your account settings
51 and set up your own timezone name.
52
53 ==================================================================================
54 Install CCK Date Fields:
55 ==================================================================================
56
57 1) The CCK date field is included in the Date files at http://drupal.org/project/date.
58
59 2) Go to admin/build/modules and enable the Date module. Be sure that the Date API module,
60 the Date Timezone module, and the Content module are also installed.
61
62 3) Go to admin/content/types to view cck content types and edit a content type.
63
64 4) Make sure the default timezone name has been set at admin/settings/date-time.
65
66 5) While viewing a content type, select the option to add a new field from the tabs at
67 the top of the page. Several options for date fields should be visible.
68
69 ==================================================================================
70 More documentation is available at http://drupal.org/node/92460.
71 ==================================================================================
72
73

  ViewVC Help
Powered by ViewVC 1.1.2