Your message dated Fri, 04 Jul 2014 14:09:04 +0200
with message-id <[email protected]>
and subject line Closing bugs filled against php5 in oldstable
has caused the Debian Bug report #703109,
regarding DateTime->modify('tomorrow') Bug in PHP 5.3 in Debian Squeeze 4.3.5-4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
703109: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703109
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php5
Version: 5.3.3-7+squeeze15
Tags: squeeze


I have a strange bug with DateTime->modify('tomorrow') in PHP 5.3.
Code to reproduce:

<?php
$d = new DateTime('2013-02-05 06:33:33');
echo $d->format('Y-m-d H:i:s')."\n";

$d->modify('tomorrow');
echo $d->format('Y-m-d H:i:s')."\n";
?>

Current output on Windows with PHP 5.3.14:
2013-02-05 06:33:33
2013-02-06 00:00:00

Current output on Linux (Debian) with PHP 5.3.3-7+squeeze15:
2013-02-05 06:33:33
2013-02-06 06:33:33

I have asked the PHP internals mailinglist (see 
http://www.mail-archive.com/[email protected]/msg64587.html) and got this 
answer:

> The 5.3.14 result is correct. It was apparently a bug in earlier 5.3 
> versions.
> 
> cheers,
> Derick
http://www.mail-archive.com/[email protected]/msg64588.html

So it seems like the patch has not been integrated into Debian. It would be 
nice if this could be done.

Best regards
Christian Stoller

--- End Message ---
--- Begin Message ---
Version: 5.4.4-14

Hey all,

I am closing the bugs that were filled against php5 5.3 in Debian
oldstable
(well and earlier)...

Feel free to reopen the bug in you can reproduce it with php5 from
current
stable Debian release.

Cheers,
-- 
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

--- End Message ---

Reply via email to