Posted March 12th, 2007 @ 10:09am by Erik J. Barzeski
My server correctly reports the time via the
[11:01am root@as:~] # date
Mon Mar 12 11:01:17 EDT 2007
But this morning, a WordPress post I had set to publish at 10am did not publish until 11am. The server is set to "(GMT -05:00) EST/EDT." If I change it to EST only,
date reports an hour ago (10:01).
What's up with that? Is the server to blame, or WordPress?
P.S. I posted this via ecto, and when it reloaded the article after posting it, the time on the article was changed to 10:04 despite me explicitly having set the time to the current time. Re-posting it to add this postscript has reverted the time back to 9:04!
<?=date('Y-m-d H:i:s');?> returns the correct time. WordPress has a daylight savings bug?