File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ if (!Number.prototype.map) {
288288 Object . freeze ( $ . clock ) ;
289289
290290 //_jqClock contains references to each clock's settimeouts
291- let _jqClock = _jqClock || { } ;
291+ let _jqClock = { } ;
292292
293293 $ . fn . clock = function ( options ) {
294294 let _this = this ;
@@ -397,7 +397,7 @@ if (!Number.prototype.map) {
397397 "O" : ( clk ) => ( clk . tzH < 0
398398 ? "+" +
399399 ( "" + Math . abs ( clk . tzH ) ) . padStart ( 2 , "0" )
400- : tzH > 0
400+ : clk . tzH > 0
401401 ? ( "" + clk . tzH * - 1 ) . padStart ( 2 , "0" )
402402 : "+00" ) + "00" ,
403403 //Difference to Greenwich time (GMT) with colon between hours and minutes
@@ -432,8 +432,8 @@ if (!Number.prototype.map) {
432432 ( clk . tzH < 0
433433 ? "+" +
434434 ( "" + Math . abs ( clk . tzH ) ) . padStart ( 2 , "0" )
435- : tzh > 0
436- ? ( "" + clk . tzh * - 1 ) . padStart ( 2 , "0" )
435+ : clk . tzH > 0
436+ ? ( "" + clk . tzH * - 1 ) . padStart ( 2 , "0" )
437437 : "+00" ) +
438438 ":00" ,
439439 //» RFC 2822 formatted date | Example: Thu, 21 Dec 2000 16:01:07 +0200
You can’t perform that action at this time.
0 commit comments