Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.0a3

Request #7139 PHP 5.1.1 Datetime Constants
Submitted: 2006-03-17 05:13 UTC
From: rwaldock at gmail dot com Assigned: arpad
Status: Closed Package: PHP_Compat (version 1.5.0)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 1.6.0a1    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 38 - 24 = ?

 
 [2006-03-17 05:13 UTC] rwaldock at gmail dot com (Rhett Waldock)
Description: ------------ PHP 5.1.1 offers new constants for several standard date representations that are very handy. Convenience link: http://php.net/manual/en/ref.datetime.php#datetime.constants I've retrofitted my local install of PHP_Compat with a constants/DATE.php file that emulates these new constants. Since it has been helpful to me, I'd like to offer it up for inclusion in future PHP_COMPAT packages, if you are interested. Test script: --------------- Since the code is longer than 20 lines, I uploaded a PHPS file for your review: http://clients.clearsiteinternet.com/PHP_Compat_Date/DATE.phps Expected result: ---------------- The new datetime constants will be available to versions of PHP earlier than 5.1.1

Comments

 [2006-04-17 04:36 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!