Menu

LeoClock

February 1st, 2013

LeoClockLeoClock is a clean and simple but very functional clock module for Joomla. What’s unique about LeoClock apart is that it gets the time through PHP which means mainly two things. First, everyone visiting the page will get the same time even if the clock on their computer is wrong as it uses the Server clock. Second, it has access to the handy timezone options in PHP, e.g “Europe/London” and “America/New_York”.

The settings for the module are the following:

* PHP Timezone http://www.php.net/manual/en/timezones.php.
* Whether or not timezone should be showed below the clock.
* Lets you choose if the displayed timezone should be complete with continent or just city. Either way it will format the original PHP timezone for nicer display. In addition you can choose to display a custom string in place of the standard timezones (added in version 1.2).
** Europe/London shows as “Europe, London” if full and “London” if city.
** America/New_York shows as “America, New York” if full and “New York” if city.
** America/Indiana/Knox shows as “America, Indiana, Knox” if full and “Knox” if city
** Indian/Chagos shows as “Indian Ocean, Chagos” if full and “Chagos” if city.
* Time format, 24 or 12h.
* Whether or not seconds should be displayed.
Whether or not the current date should be displayed and if it it should, in what format. (Added in version 1.2.)

The module supports mutliple instances running on the same page, just make sure you give the different names.

The module is available in Joomla 1.5 and Joomla 2.5 versions. The 2.5 version has been tested with Joomla 2.5 as well as 3.0 but it should work on any version above 1.6.