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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, that's why I said "the relevant authorities". I couldn't remember
off-hand where it came from so figured I'd not blame "PHP" just yet :p

Apparently these strings are being recognized as TZ stamps, but the underlying
logic is "not fully implemented": see
http://www.gnu.org/s/libc/manual/html_node/Low_002dLevel-Time-String-Parsing.html

Try it with some TZ stamps ... I'm pretty sure that in the previous
example it was taking "East" to be "EST", as I observed (rather by
accident) earlier.

Kevin Kinsey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux