[PATCH] New date() format character - fix for the DATE_ATOM constant

php.internals

Hannes Magnusson

20 years ago
Hi all I'd like to propose a new date() format character, "P", which behaves exactly like "O" except it adds colon between the hours and minutes. This patch also fixes current DATE_ATOM constant to print out RFC3339 valid timestamps (bug #36224). - Hannes

Derick Rethans

20 years ago
On Tue, 31 Jan 2006, Hannes Magnusson wrote:
> I'd like to propose a new date() format character, "P", which behaves > exactly like "O" except it adds colon between the hours and minutes. > > This patch also fixes current DATE_ATOM constant to print out RFC3339 > valid timestamps (bug #36224).
Thanks, I'll add this to CVS in a short while (tonight most likely). regards, Derick