Hi Andreas, I have pulled code from PHP 5.3 and removed the extra warning. PHP 5.4.4-6 will have the fix.
O. On Mon, May 21, 2012 at 11:32 AM, Andreas Pakulat <ap...@gmx.de> wrote: > Package: php5 > Version: 5.4.3-4 > Severity: important > > Hi, > > apparently upstream changed the logics of the > date_default_timezone_get() function in a way such that the > use_embedded_timezonedb_fixes.patch is not having any effect anymore. > > At least here with: > > cat /etc/timezone > Europe/Berlin > > this php script: > > <?php > echo date_default_timezone_get(); > ?> > > produces this output: > PHP Warning: date_default_timezone_get(): It is not safe to rely on the > system's timezone settings. You are *required* to use the date.timezone > setting or the date_default_timezone_set() function. In case you used > any of those methods and you are still getting this warning, you most > likely misspelled the timezone identifier. We selected the timezone > 'UTC' for now, but please set date.timezone to select your timezone. in > /tmp/tzinfo.php on line 3 > UTC > > While php 5.3 correctly produced Europe/Berlin without any warnings. > > Andreas > > -- System Information: > Debian Release: wheezy/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, > 'experimental') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages php5 depends on: > ii libapache2-mod-php5 5.4.3-4 > ii php5-common 5.4.3-4 > > php5 recommends no packages. > > php5 suggests no packages. > > -- no debconf information > > > > _______________________________________________ > pkg-php-maint mailing list > pkg-php-ma...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint -- Ondřej Surý <ond...@sury.org> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org