Debian Bug report logs - #702903
php date_parse_from_format reports invalid values

version graph

Package: php5-cli; Maintainer for php5-cli is (unknown);

Reported by: Johnny Luong <Johnny.Luong@trustcommerce.com>

Date: Tue, 12 Mar 2013 19:15:01 UTC

Severity: normal

Found in version php5/5.3.3-7+squeeze14

Fixed in versions php5/5.4.4-14, 5.4.4-14

Done: Lior Kaplan <kaplan@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#702903; Package php5-cli. (Tue, 12 Mar 2013 19:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Johnny Luong <Johnny.Luong@trustcommerce.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 12 Mar 2013 19:15:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Johnny Luong <Johnny.Luong@trustcommerce.com>
To: "submit@bugs.debian.org" <submit@bugs.debian.org>
Subject: php date_parse_from_format reports invalid values
Date: Tue, 12 Mar 2013 19:08:20 +0000
Package: php5-cli
Version: 5.3.3-7+squeeze14


When I invoke the following code, the day in the array return is invalid ([month] -> 1, [day] -> 71).

<?php
print_r(date_parse_from_format('z', '70'));
?>

On Debian Wheezy (testing), it appears to provide a valid month and day for the current year.


Marked as fixed in versions php5/5.4.4-14. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 13 Mar 2013 11:33:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#702903; Package php5-cli. (Wed, 13 Mar 2013 11:39:10 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 13 Mar 2013 11:39:10 GMT) (full text, mbox, link).


Message #12 received at 702903@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: Johnny Luong <Johnny.Luong@trustcommerce.com>, 702903@bugs.debian.org
Cc: "submit@bugs.debian.org" <submit@bugs.debian.org>
Subject: Re: [php-maint] Bug#702903: php date_parse_from_format reports invalid values
Date: Wed, 13 Mar 2013 12:33:44 +0100
[Message part 1 (text/plain, inline)]
Hi Johnny,

thanks for the bugreport.

This is just a notice that according to the release policy only security
fixes can go into stable release, so this won't get fixed. (And since
wheezy should be out really soon^W^Wwhen it's ready), this should fix
itself after the release.

Ondrej


On Tue, Mar 12, 2013 at 8:08 PM, Johnny Luong <
Johnny.Luong@trustcommerce.com> wrote:

> Package: php5-cli
> Version: 5.3.3-7+squeeze14
>
>
> When I invoke the following code, the day in the array return is invalid
> ([month] -> 1, [day] -> 71).
>
> <?php
> print_r(date_parse_from_format('z', '70'));
> ?>
>
> On Debian Wheezy (testing), it appears to provide a valid month and day
> for the current year.
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>



-- 
Ondřej Surý <ondrej@sury.org>
[Message part 2 (text/html, inline)]

Reply sent to Lior Kaplan <kaplan@debian.org>:
You have taken responsibility. (Tue, 14 Jan 2014 00:27:06 GMT) (full text, mbox, link).


Notification sent to Johnny Luong <Johnny.Luong@trustcommerce.com>:
Bug acknowledged by developer. (Tue, 14 Jan 2014 00:27:06 GMT) (full text, mbox, link).


Message #17 received at 702903-done@bugs.debian.org (full text, mbox, reply):

From: Lior Kaplan <kaplan@debian.org>
To: 702903-done@bugs.debian.org
Subject: closing
Date: Tue, 14 Jan 2014 02:23:33 +0200
[Message part 1 (text/plain, inline)]
Version: 5.4.4-14

Kaplan
[Message part 2 (text/html, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 11 Feb 2014 07:25:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 01:31:45 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.