From: <de...@de...> - 2017-05-31 09:16:44
|
Author: HideyoImazu Date: 2017-05-31 09:07:31 +0000 (Wed, 31 May 2017) New Revision: 30347 Trac url: http://develop.twiki.org/trac/changeset/30347 Modified: twiki/trunk/core/lib/TWiki/Time.pm Log: Item7752: SERVERTIME is always identical to GMTIME Modified: twiki/trunk/core/lib/TWiki/Time.pm =================================================================== --- twiki/trunk/core/lib/TWiki/Time.pm 2017-05-31 08:26:42 UTC (rev 30346) +++ twiki/trunk/core/lib/TWiki/Time.pm 2017-05-31 09:07:31 UTC (rev 30347) @@ -207,6 +207,8 @@ if( $outputTimeZone eq 'gmtime' ) { ( $sec, $min, $hour, $day, $mon, $year, $wday ) = gmtime( $epochSeconds ); + } elsif ( $outputTimeZone eq 'servertime' ) { + ( $sec, $min, $hour, $day, $mon, $year, $wday ) = localtime( $epochSeconds ); } else { my $tzSave; if ( $outputTimeZone ) { |