summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--date.module11
-rw-r--r--date_api/date_api.module11
3 files changed, 12 insertions, 11 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 39d8bf4..589f1a9 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -19,6 +19,7 @@ New Features/Major Changes
Bugfixes
+- Issue #1364026, Fix link to documentation, also move help to Date API module.
- Issue #1276270, Fix fatal error when using repeat date on user.
- Issue #1362758, Add empty file for the date_plugin_display_attachment.inc file that was removed, to avoid fatal errors if it is missing on a site that formerly used it.
- Issue #1363460, Make sure widget dates do not end up with the current date when they should be empty.
diff --git a/date.module b/date.module
index d6baabc..a57aaeb 100644
--- a/date.module
+++ b/date.module
@@ -471,17 +471,6 @@ function date_process_values($field) {
}
/**
- * Implement hook_help().
- */
-function date_help($path, $arg) {
- switch ($path) {
- case 'admin/help#date':
- return '<p>' . t('Complete documentation for the Date and Date API modules is available at <a href="@link">http://drupal.org/node/92460</a>.', array('@link' => 'http://drupal.org/node/92460')) . '</p>';
- break;
- }
-}
-
-/**
* Implements hook_form_FORM_ID_alter().
*/
function date_form_field_ui_field_edit_form_alter(&$form, &$form_state, $form_id) {
diff --git a/date_api/date_api.module b/date_api/date_api.module
index 9ef1bc3..2d8486f 100644
--- a/date_api/date_api.module
+++ b/date_api/date_api.module
@@ -42,6 +42,17 @@ define('DATE_REGEX_ICAL_DATETIME', '/(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})
*/
/**
+ * Implement hook_help().
+ */
+function date_help($path, $arg) {
+ switch ($path) {
+ case 'admin/help#date':
+ return '<p>' . t('Complete documentation for the Date and Date API modules is available at <a href="@link">http://drupal.org/node/92460</a>.', array('@link' => 'http://drupal.org/node/262062')) . '</p>';
+ break;
+ }
+}
+
+/**
* Extend PHP DateTime class with granularity handling, merge functionality and
* slightly more flexible initialization parameters.
*