Log Message: ----------- Delete @mytz. WWW means "world wide web", so it's utterly absurd to use anything but UTC. Modified Files: -------------- cvsweb: cvsweb.cgi cvsweb.conf Revision Data ------------- Index: cvsweb.conf =================================================================== RCS file: /home/cvs/mandoc/cvsweb/cvsweb.conf,v retrieving revision 4.11 retrieving revision 4.12 diff -Lcvsweb.conf -Lcvsweb.conf -u -p -r4.11 -r4.12 --- cvsweb.conf +++ cvsweb.conf @@ -418,13 +418,6 @@ $show_log_in_markup = 1; # #$tabstop = 4; -# If you wish to display absolute times in your local timezone, -# then define @mytz and fill in the strings for your standard and -# daylight time. Note that you must also make sure the system -# timezone is correctly set. -# -#@mytz=("EST", "EDT"); - # CVSweb is friendly to caches by sending the HTTP Last-Modified # header corresponding to the sent content. In the case of a # checkout, this may require running rcslog on the file solely for the Index: cvsweb.cgi =================================================================== RCS file: /home/cvs/mandoc/cvsweb/cvsweb.cgi,v retrieving revision 4.23 retrieving revision 4.24 diff -Lcvsweb.cgi -Lcvsweb.cgi -u -p -r4.23 -r4.24 --- cvsweb.cgi +++ cvsweb.cgi @@ -77,7 +77,7 @@ use vars qw ( $edit_option_form $show_subdir_lastmod $show_log_in_markup $preformat_in_markup $tabstop $state $annTable $sel @ForbiddenFiles - $use_descriptions %descriptions @mytz $dwhere + $use_descriptions %descriptions $dwhere $use_moddate $gzip_open $file_list_len $allow_tar @tar_options @gzip_options @zip_options @cvs_options @annotate_options @rcsdiff_options @@ -2775,12 +2775,7 @@ sub printLog($$$;$$) print "<br />\n"; print '<i>'; - if (@mytz) { - my ($est) = $mytz[(localtime($date{$_}))[8]]; - print scalar localtime($date{$_}), " $est</i> ("; - } else { - print scalar gmtime($date{$_}), " UTC</i> ("; - } + print scalar gmtime($date{$_}), ' UTC</i> ('; print readableTime(time() - $date{$_}, 1), ' ago)'; print ' by <i>', htmlquote($author{$_}), "</i><br />\n"; -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv