Zone display setting is not saved and zone information is never shown. The fix:
--- date.module.orig 2007-08-13 22:37:27.000000000 +0300
+++ date.module 2007-08-13 22:41:18.000000000 +0300
@@ -257,7 +257,7 @@
$form['output_format_zone'. $append] = array(
'#type' => 'select',
'#title' => t('Zone display'),
- '#default_value' => $field['format_zone'. $append] ? $field['format_zone'. $append] : '',
+ '#default_value' => $field['output_format_zone'. $append] ? $field['output_format_zone'. $append] : '',
'#options' => date_append_zone_options(),
);
$form['output_format_custom'. $append] = array(
@@ -1119,4 +1119,4 @@
}
}
-/** @} End of addtogroup themeable */
\ No newline at end of file
+/** @} End of addtogroup themeable */
Comments
Comment #1
moshe weitzman commentedEven with latest DRUPAL-5 I can't get zone to show. I double checked my display settings but still no love. On the plus side, the latest date fixes the 'display format won't save' bug.
Comment #2
moshe weitzman commentedI'd be happy to give access to groupsbeta.drupal.og for reproducing this problem although i can reproduce it on clean install too. My settings
datestamp field
date's timezone handling
GMT site timezone
Comment #3
moshe weitzman commentedI did a debugger tour and found that display of timezone depends on 'output_format_zone' variable but I don't see where that gets set. It is NULL for me and naturally I see no timezone.
This bug affects date and datestamp equally.
Comment #4
karens commentedShould be fixed now. I recently changed the way timezone display was handled to be consistent with the way it will work in the new version of the Date module, but missed a place that needed a fix. The immediate problem is fixed with the latest commit, but I'm still combing through the code to be sure I haven't missed anything else related to this change.
Comment #5
(not verified) commented