Re: [PHP] Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-07 Thread Peter Lind
On a related note: does anyone know why php -r echo date('Y-m-d H:i:s', strtotime('a')); happily outputs a valid timestamp? And why all other letters work as well (but only one character)? I'm sure there's a good reason for it, it just completely escapes me right now :) Regards Peter -- hype

[PHP] Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-06 Thread Colin Guthrie
'Twas brillig, and Kevin Kinsey at 05/04/10 19:15 did gyre and gimble: Nonetheless, I'm suspecting the programmers had something like this in mind. Yeah I guess that's why it interprets these terms. Good thinking :) Isn't strtotime() based on some GNU utility? Yeah, that's why I said the

Re: [PHP] Re: Logical reason for strtotime('east') and strtotime('west') returning valid results?

2010-04-06 Thread Kevin Kinsey
Colin Guthrie wrote: 'Twas brillig, and Kevin Kinsey at 05/04/10 19:15 did gyre and gimble: Nonetheless, I'm suspecting the programmers had something like this in mind. Yeah I guess that's why it interprets these terms. Good thinking :) Isn't strtotime() based on some GNU utility? Yeah,