[wp-hackers] Changing the clock format in Write > Post
Daniel Torreblanca
regulatethis at gmail.com
Wed May 7 15:08:47 GMT 2008
On Wed, May 7, 2008 at 10:45 AM, Alexander Beutl <xel at netgra.de> wrote:
> >
> > If you run PHP 5.1 or up, this code will figure out the correct offset
> > from the server for a given timezone string (like "America/Chicago"):
>
>
> Great for a plugin which can easily choose to only support php5.1+
> Less useable for core which should be php4.3 complient up to what
> wordpress.org says...
> But maybe one could add this as an additional benefit if php version is high
> enogh as long as one takes care it will not break anything if php < 5.1 is
> used.
>
> Would really like to see this go core - no matter if it is possible to be
> done in php < 5.1 - just make sure nothing will break...
>
> Alex
I found a pretty good write up here
(http://drakecms.sourceforge.net/index.php?option=content&id=32&Itemid=10)
which works in PHP4 and PHP5. I'm willing to take a crack at this, but
if anyone else has already been working in this area and is close to a
solution then I'll sit it out. Thoughts?
More information about the wp-hackers
mailing list