Re: [PHP] strftime silliness

2012-04-11 Thread Tim Streater
On 11 Apr 2012 at 01:47, Geoff Shang wrote: > On Wed, 10 Apr 2012, Tim Streater wrote: > >> I want to format a date/time using a 12 hour representation of the time >> part. I can do this with, say, "%d %b %Y %l:%M %p", where the first time >> format specifier is the lower-case L. But, this gives

Re: [PHP] strftime silliness

2012-04-10 Thread Geoff Shang
On Wed, 10 Apr 2012, Tim Streater wrote: I want to format a date/time using a 12 hour representation of the time part. I can do this with, say, "%d %b %Y %l:%M %p", where the first time format specifier is the lower-case L. But, this gives me a leading space in the case that the hour is less t

[PHP] strftime silliness

2012-04-10 Thread Tim Streater
I want to format a date/time using a 12 hour representation of the time part. I can do this with, say, "%d %b %Y %l:%M %p", where the first time format specifier is the lower-case L. But, this gives me a leading space in the case that the hour is less than 12. I don't want this space. Anyone kno