diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-20 01:23:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-20 01:23:43 +0000 |
commit | 4e34e1308223a24ed4e9dbea19c3daa85c8cba48 (patch) | |
tree | a35515eeb1934eaeeeec8bb73480eaf188b36ea1 | |
parent | 317b9b4e0ca3d620abec0fe0f16ed0c691996dec (diff) | |
download | brdo-4e34e1308223a24ed4e9dbea19c3daa85c8cba48.tar.gz brdo-4e34e1308223a24ed4e9dbea19c3daa85c8cba48.tar.bz2 |
- Patch #715464 by mfb: authored on field description is broken on Preview.
-rw-r--r-- | modules/node/node.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index f5ecc72fc..fe9eff155 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -225,7 +225,7 @@ function node_form($form, &$form_state, $node) { '#type' => 'textfield', '#title' => t('Authored on'), '#maxlength' => 25, - '#description' => t('Format: %time. The date format is YYYY-MM-DD and %timezone is the timezone offset from UTC. Leave blank to use the time of form submission.', array('%time' => !empty($node->date) ? $node->date : format_date($node->created, 'custom', 'Y-m-d H:i:s O'), '%timezone' => !empty($node->date) ? $node->date : format_date($node->created, 'custom', 'O'))), + '#description' => t('Format: %time. The date format is YYYY-MM-DD and %timezone is the time zone offset from UTC. Leave blank to use the time of form submission.', array('%time' => !empty($node->date) ? date_format(date_create($node->date), 'Y-m-d H:i:s O') : format_date($node->created, 'custom', 'Y-m-d H:i:s O'), '%timezone' => !empty($node->date) ? date_format(date_create($node->date), 'O') : format_date($node->created, 'custom', 'O'))), '#default_value' => !empty($node->date) ? $node->date : '', ); |