This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to annotated tag v1.76 in repository libdatetime-timezone-perl.
commit d12b4612e1b6171081cf6f60d089fe340638ade7 Author: Karen Etheridge <et...@cpan.org> Date: Wed Oct 22 15:53:53 2014 -0700 on unix systems, look for /etc/timezone first before /etc/localtime On ubuntu systems (Etch and later), /etc/localtime is a copy of /usr/share/zoneinfo/$zonefile, which means DateTime::TimeZone::Local::Unix spends a lot of time looking for the file that matches it, and it takes a LONG time (especially when done many times for a single page load!); whereas /etc/timezone also exists, and this is a simple file that contains the name of the timezone, so checking for this file first would be much faster. --- lib/DateTime/TimeZone/Local/Unix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DateTime/TimeZone/Local/Unix.pm b/lib/DateTime/TimeZone/Local/Unix.pm index db96616..0f9beb1 100644 --- a/lib/DateTime/TimeZone/Local/Unix.pm +++ b/lib/DateTime/TimeZone/Local/Unix.pm @@ -9,8 +9,8 @@ use parent 'DateTime::TimeZone::Local'; sub Methods { return qw( FromEnv - FromEtcLocaltime FromEtcTimezone + FromEtcLocaltime FromEtcTIMEZONE FromEtcSysconfigClock FromEtcDefaultInit -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdatetime-timezone-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits