Skip to content

Commit 9f87fed

Browse files
authored
change default rate from 1000 to 500
1 parent ff73936 commit 9f87fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jqClock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ if (!String.prototype.padStart) {
165165
options.timeFormat = options.timeFormat || ((options.langSet=="en") ? "h:i:s A" : "H:i:s");
166166
options.timezone = options.timezone || "localsystimezone"; //should only really be passed in when a server timestamp is passed
167167
options.isDST = options.hasOwnProperty("isDST") ? options.isDST : sysDateObj.isDST(); //should only really be passed in when a server timestamp is passed
168-
options.rate = options.rate || 1000;
168+
options.rate = options.rate || 500; //500ms makes for a more faithful clock than 1000ms, less skewing
169169

170170
//ensure we have true boolean values
171171
if(typeof(options.calendar) === 'string'){

0 commit comments

Comments
 (0)