Skip to content

Releases: JohnRDOrazio/jQuery-Clock-Plugin

PHP Style Format Characters

15 Jun 23:05
Compare
Choose a tag to compare

This release adds two new option parameters "dateFormat" and "timeFormat" (in this release the parameter is actually "hourFormat"!) that support PHP style format characters in order to better customize the way the date and the time are printed out. At the same time, the "seconds" parameter (which determined whether seconds would be shown on the clock or not) has been removed, and so has the "format" parameter (which determined whether the clock would show 12 hour or 24 hour time) seeing that the same effects can be achieved with the "timeFormat" (="hourFormat"!) parameter.

supports server timestamp timezone offset correction

09 Jun 10:43
Compare
Choose a tag to compare

This release accounts for client side timezone offset when a server generated timestamp is passed into the plugin.
The plugin automatically detects that the timestamp is server generated when it sees that the timestamp does not account for microseconds, so please do not multiply the timestamp by 1000 now before passing the value to the plugin.
When a timezone is set on the server this must be accounted for server-side before passing the value to the plugin.

first tag to keep track of released versions...

08 Jun 12:42
Compare
Choose a tag to compare

I figure that if people are starting to actually use this code in other projects, then it would be useful to have a version number on the code in case new modifications are made, so everyone knows what's what...