[PHP-DEV] PHP 4.0 Bug #9519 Updated: Incorrect output from date function

2001-03-04 Thread mrobinso

ID: 9519
Updated by: mrobinso
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Date/time related
Assigned To: 
Comments:

On the other hand, if I read these reports more carefully
I would look less like an idiot.



Previous Comments:
---

[2001-03-04 19:56:30] [EMAIL PROTECTED]
Changing back to open.
This is a valid bug report.

The snippet provided outputs the following in
php-4.0.4pl1 and php-4.0.4dev:

Sunday, March 04, 2001
 

Sunday, March 3, 2001
 ^^^

There can't be two Sundays in March, one on the 4th
and the other the 3rd. Not in PHP anyway. Maybe ASP.







---

[2001-03-04 18:34:16] [EMAIL PROTECTED]
PHP is performing as documented. You want 'j' not 'n'. See the date manual page :

d - day of the month, 2 digits with leading zeros; i.e. "01" to "31" 
j - day of the month without leading zeros; i.e. "1" to "31" 
n - month without leading zeros; i.e. "1" to "12" 







---

[2001-03-02 11:16:50] [EMAIL PROTECTED]
My bad disregard...month...oops.

---

[2001-03-02 11:16:16] [EMAIL PROTECTED]
Jani,

I believe he is refering to the fact the dates are wrong numerically not 
typographically.

I get this same result too on PHP 4.0.4pl1 and 4.0.5-dev.

-Chris


---

[2001-03-02 09:28:58] [EMAIL PROTECTED]
It's not wrong, it's exactly what it should be outputting.
Please read the manual page for date:

http://www.php.net/date

where it says:

n - month without leading zeros; i.e. "1" to "12"


--Jani


---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9519 Updated: Incorrect output from date function

2001-03-04 Thread mrobinso

ID: 9519
Updated by: mrobinso
Reported By: [EMAIL PROTECTED]
Old-Status: Bogus
Status: Open
Bug Type: Date/time related
Assigned To: 
Comments:

Changing back to open.
This is a valid bug report.

The snippet provided outputs the following in
php-4.0.4pl1 and php-4.0.4dev:

Sunday, March 04, 2001
 

Sunday, March 3, 2001
 ^^^

There can't be two Sundays in March, one on the 4th
and the other the 3rd. Not in PHP anyway. Maybe ASP.







Previous Comments:
---

[2001-03-04 18:34:16] [EMAIL PROTECTED]
PHP is performing as documented. You want 'j' not 'n'. See the date manual page :

d - day of the month, 2 digits with leading zeros; i.e. "01" to "31" 
j - day of the month without leading zeros; i.e. "1" to "31" 
n - month without leading zeros; i.e. "1" to "12" 







---

[2001-03-02 11:16:50] [EMAIL PROTECTED]
My bad disregard...month...oops.

---

[2001-03-02 11:16:16] [EMAIL PROTECTED]
Jani,

I believe he is refering to the fact the dates are wrong numerically not 
typographically.

I get this same result too on PHP 4.0.4pl1 and 4.0.5-dev.

-Chris


---

[2001-03-02 09:28:58] [EMAIL PROTECTED]
It's not wrong, it's exactly what it should be outputting.
Please read the manual page for date:

http://www.php.net/date

where it says:

n - month without leading zeros; i.e. "1" to "12"


--Jani


---

[2001-03-02 02:44:32] [EMAIL PROTECTED]
the n option for date gives wrong value

date ("l, F d, Y") outputs Friday, March 02, 2001
date ("l, F n, Y") outputs Friday, March 3, 2001


---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9519 Updated: Incorrect output from date function

2001-03-04 Thread lyric

ID: 9519
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Date/time related
Assigned To: 
Comments:

PHP is performing as documented. You want 'j' not 'n'. See the date manual page :

d - day of the month, 2 digits with leading zeros; i.e. "01" to "31" 
j - day of the month without leading zeros; i.e. "1" to "31" 
n - month without leading zeros; i.e. "1" to "12" 







Previous Comments:
---

[2001-03-02 11:16:50] [EMAIL PROTECTED]
My bad disregard...month...oops.

---

[2001-03-02 11:16:16] [EMAIL PROTECTED]
Jani,

I believe he is refering to the fact the dates are wrong numerically not 
typographically.

I get this same result too on PHP 4.0.4pl1 and 4.0.5-dev.

-Chris


---

[2001-03-02 09:28:58] [EMAIL PROTECTED]
It's not wrong, it's exactly what it should be outputting.
Please read the manual page for date:

http://www.php.net/date

where it says:

n - month without leading zeros; i.e. "1" to "12"


--Jani


---

[2001-03-02 02:44:32] [EMAIL PROTECTED]
the n option for date gives wrong value

date ("l, F d, Y") outputs Friday, March 02, 2001
date ("l, F n, Y") outputs Friday, March 3, 2001


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9519 Updated: Incorrect output from date function

2001-03-02 Thread cnewbill

ID: 9519
Updated by: cnewbill
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Bogus
Bug Type: Date/time related
Assigned To: 
Comments:

My bad disregard...month...oops.

Previous Comments:
---

[2001-03-02 11:16:16] [EMAIL PROTECTED]
Jani,

I believe he is refering to the fact the dates are wrong numerically not 
typographically.

I get this same result too on PHP 4.0.4pl1 and 4.0.5-dev.

-Chris


---

[2001-03-02 09:28:58] [EMAIL PROTECTED]
It's not wrong, it's exactly what it should be outputting.
Please read the manual page for date:

http://www.php.net/date

where it says:

n - month without leading zeros; i.e. "1" to "12"


--Jani


---

[2001-03-02 02:44:32] [EMAIL PROTECTED]
the n option for date gives wrong value

date ("l, F d, Y") outputs Friday, March 02, 2001
date ("l, F n, Y") outputs Friday, March 3, 2001


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9519 Updated: Incorrect output from date function

2001-03-02 Thread cnewbill

ID: 9519
Updated by: cnewbill
Reported By: [EMAIL PROTECTED]
Old-Status: Bogus
Status: Feedback
Bug Type: Date/time related
Assigned To: 
Comments:

Jani,

I believe he is refering to the fact the dates are wrong numerically not 
typographically.

I get this same result too on PHP 4.0.4pl1 and 4.0.5-dev.

-Chris


Previous Comments:
---

[2001-03-02 09:28:58] [EMAIL PROTECTED]
It's not wrong, it's exactly what it should be outputting.
Please read the manual page for date:

http://www.php.net/date

where it says:

n - month without leading zeros; i.e. "1" to "12"


--Jani


---

[2001-03-02 02:44:32] [EMAIL PROTECTED]
the n option for date gives wrong value

date ("l, F d, Y") outputs Friday, March 02, 2001
date ("l, F n, Y") outputs Friday, March 3, 2001


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9519 Updated: Incorrect output from date function

2001-03-02 Thread sniper

ID: 9519
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Date/time related
Assigned To: 
Comments:

It's not wrong, it's exactly what it should be outputting.
Please read the manual page for date:

http://www.php.net/date

where it says:

n - month without leading zeros; i.e. "1" to "12"


--Jani


Previous Comments:
---

[2001-03-02 02:44:32] [EMAIL PROTECTED]
the n option for date gives wrong value

date ("l, F d, Y") outputs Friday, March 02, 2001
date ("l, F n, Y") outputs Friday, March 3, 2001


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9519&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]