FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18364&edit=1

ID: 18364
Updated by: helgith@gmail.com
Reported By: RQuadling at GMail dot com
Summary: date.timezone errors for pecl.bat
Status: Open
Type: Bug
Package: PEAR
Operating System: Windows XP SP3
Package Version: SVN
PHP Version: 5.3.5
-Assigned To:
+Assigned To: dufuz
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: dufuz



Previous Comments:
------------------------------------------------------------------------

[2011-03-15 18:48:43] rquadling

Added #patch bug:18364;patch:datetimezone.patch;revision:1300214923;.

------------------------------------------------------------------------

[2011-03-15 18:48:25] rquadling

Description:
------------
Having installed pear and just released my first pecl package
(win32service), the pecl.bat script fires out the date.timezone
warning.

No karma to commit patches to pear-core, so here is the patch.

It is simply forcing GMT.

------------------------------------------------------------------------

Search Discussions

  • Helgith at Mar 15, 2011 at 5:54 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18364&edit=1

    ID: 18364
    Updated by: helgith@gmail.com
    Reported By: RQuadling at GMail dot com
    Summary: date.timezone errors for pecl.bat
    Status: Assigned
    Type: Bug
    Package: PEAR
    Operating System: Windows XP SP3
    Package Version: SVN
    PHP Version: 5.3.5
    Assigned To: dufuz
    Roadmap Versions:
    New Comment:

    Thanks, I'm going to do this a different way. Forcing GMT is a last
    ditch resort IMO.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-15 18:57:18] dufuz

    -Assigned To:
    +Assigned To: dufuz


    ------------------------------------------------------------------------

    [2011-03-15 18:48:43] rquadling

    Added #patch bug:18364;patch:datetimezone.patch;revision:1300214923;.

    ------------------------------------------------------------------------

    [2011-03-15 18:48:25] rquadling

    Description:
    ------------
    Having installed pear and just released my first pecl package
    (win32service), the pecl.bat script fires out the date.timezone
    warning.

    No karma to commit patches to pear-core, so here is the patch.

    It is simply forcing GMT.

    ------------------------------------------------------------------------
  • Rquadling at Mar 15, 2011 at 6:21 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18364&edit=1

    ID: 18364
    Updated by: RQuadling@GMail.com
    Reported By: RQuadling at GMail dot com
    Summary: date.timezone errors for pecl.bat
    Status: Assigned
    Type: Bug
    Package: PEAR
    Operating System: Windows XP SP3
    Package Version: SVN
    PHP Version: 5.3.5
    Assigned To: dufuz
    Roadmap Versions:
    New Comment:

    Agreed, but http://news.php.net/php.pecl.dev/8058 and I do agree.

    But, if possible, go-pear.phar should be reading the date.timezone
    during install time
    and setting it in the pecl.bat / pecl.sh file.

    But any mechanism to get the date.timezone in is going to be fine
    really.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-15 18:57:37] dufuz

    Thanks, I'm going to do this a different way. Forcing GMT is a last
    ditch resort IMO.

    ------------------------------------------------------------------------

    [2011-03-15 18:57:18] dufuz

    -Assigned To:
    +Assigned To: dufuz


    ------------------------------------------------------------------------

    [2011-03-15 18:48:43] rquadling

    Added #patch bug:18364;patch:datetimezone.patch;revision:1300214923;.

    ------------------------------------------------------------------------

    [2011-03-15 18:48:25] rquadling

    Description:
    ------------
    Having installed pear and just released my first pecl package
    (win32service), the pecl.bat script fires out the date.timezone
    warning.

    No karma to commit patches to pear-core, so here is the patch.

    It is simply forcing GMT.

    ------------------------------------------------------------------------
  • Helgith at Mar 19, 2011 at 5:33 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18364&edit=1

    ID: 18364
    Updated by: helgith@gmail.com
    Reported By: RQuadling at GMail dot com
    -Summary: date.timezone errors for pecl.bat
    +Summary: date.timezone errors for sh/bat files
    Status: Assigned
    Type: Bug
    Package: PEAR
    Operating System: Windows XP SP3
    Package Version: SVN
    PHP Version: 5.3.5
    Assigned To: dufuz
    Roadmap Versions:
    New Comment:

    -Summary: date.timezone errors for pecl.bat
    +Summary: date.timezone errors for sh/bat files



    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-15 19:24:28] rquadling

    Agreed, but http://news.php.net/php.pecl.dev/8058 and I do agree.

    But, if possible, go-pear.phar should be reading the date.timezone
    during install time
    and setting it in the pecl.bat / pecl.sh file.

    But any mechanism to get the date.timezone in is going to be fine
    really.

    ------------------------------------------------------------------------

    [2011-03-15 18:57:37] dufuz

    Thanks, I'm going to do this a different way. Forcing GMT is a last
    ditch resort IMO.

    ------------------------------------------------------------------------

    [2011-03-15 18:57:18] dufuz

    -Assigned To:
    +Assigned To: dufuz


    ------------------------------------------------------------------------

    [2011-03-15 18:48:43] rquadling

    Added #patch bug:18364;patch:datetimezone.patch;revision:1300214923;.

    ------------------------------------------------------------------------

    [2011-03-15 18:48:25] rquadling

    Description:
    ------------
    Having installed pear and just released my first pecl package
    (win32service), the pecl.bat script fires out the date.timezone
    warning.

    No karma to commit patches to pear-core, so here is the patch.

    It is simply forcing GMT.

    ------------------------------------------------------------------------
  • Helgith at Mar 19, 2011 at 5:57 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18364&edit=1

    ID: 18364
    Updated by: helgith@gmail.com
    Reported By: RQuadling at GMail dot com
    -Summary: date.timezone errors for sh/bat files
    +Summary: date.timezone errors for sh/bat files when TZ is not
    set in php.ini
    -Status: Assigned
    +Status: Closed
    Type: Bug
    Package: PEAR
    Operating System: Windows XP SP3
    Package Version: SVN
    PHP Version: 5.3.5
    Assigned To: dufuz
    Roadmap Versions:
    New Comment:

    -Summary: date.timezone errors for sh/bat files
    +Summary: date.timezone errors for sh/bat files when TZ is not
    set in php.ini
    -Status: Assigned
    +Status: Closed
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on pear.php.net
    by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.

    I decided to force the date to UTC; while trying to figure out the TZ in
    go-pear et all, it
    has the danger of just being plain wrong or not being used by other
    distributions.

    The only danger is in the package validation, when we are comparing if
    the date of
    your XML is today when your real TZ may be still in yesterday or in fact
    tomorrow in
    comparison to UTC but I do believe it is a fair compromise anyway.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-19 18:35:58] dufuz

    -Summary: date.timezone errors for pecl.bat
    +Summary: date.timezone errors for sh/bat files


    ------------------------------------------------------------------------

    [2011-03-15 19:24:28] rquadling

    Agreed, but http://news.php.net/php.pecl.dev/8058 and I do agree.

    But, if possible, go-pear.phar should be reading the date.timezone
    during install time
    and setting it in the pecl.bat / pecl.sh file.

    But any mechanism to get the date.timezone in is going to be fine
    really.

    ------------------------------------------------------------------------

    [2011-03-15 18:57:37] dufuz

    Thanks, I'm going to do this a different way. Forcing GMT is a last
    ditch resort IMO.

    ------------------------------------------------------------------------

    [2011-03-15 18:57:18] dufuz

    -Assigned To:
    +Assigned To: dufuz


    ------------------------------------------------------------------------

    [2011-03-15 18:48:43] rquadling

    Added #patch bug:18364;patch:datetimezone.patch;revision:1300214923;.

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=18364

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 15, '11 at 5:54p
activeMar 19, '11 at 5:57p
posts5
users2
websitepear.php.net

2 users in discussion

Helgith: 4 posts Rquadling: 1 post

People

Translate

site design / logo © 2021 Grokbase