Version: 3.0 Display the time according to your blog via admin toolbar widget, a sidebar widget, and/or template tag.
The widget and template tag allow you specify a time format directly. The default value for the time format, and the one used by the display of the blog time in the static admin widget, can be overridden by adding a filter to 'blog_time_format' and returning the desired time format. See http://php.net/date for more information regarding the time format.
NOTE: The time string is currently only configurable for the static clock and the widget, not the dynamic admin toolbar clock enabled by default.
This plugin does not (yet) provide an active clock that continues to update to reflect the current time as time passes for the sidebar widget. It merely displays the current time, according to your server, at the time the page was created and sent to your browser. You can click on the time itself to see it dynamically refresh (without a page reload) to the current time. Or if the page gets manually reloaded you'll see a new current time. The dynamic clock is currently only available to the admin toolbar widget.
Your machine may well be synced with the server's clock. One test you can perform is to change the blog's time zone (under Settings -> General). The blog's time will then be set to a different hour, which should then be reflected by the widget.
See the Filters section for the c2c_blog_time_active_clock filter, which includes an example line of code you'll need to add to your theme.
Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2011-7-21
Downloads: 5,619
Got something to say? Need help?