MediaWiki talk:Gadget-LocalLiveClock.js

About this board

Cannot show on some pages

1
Wetitpig0 (talkcontribs)

For example, on my Wikipedia User Page (w:zh:User:Wetitpig0), the clock seldom shows properly. Does anyone know why? Thanks!!

Reply to "Cannot show on some pages"
ValterVB (talkcontribs)

To fix the problem witrh "purge", some admin can copy the MediaWiki:Gadget-UTCLiveClock.js and replace rows n° 15, 16 and 17: From

	var hh = now.getUTCHours();
	var mm = now.getUTCMinutes();
	var ss = now.getUTCSeconds();

To

	var hh = now.getHours();
	var mm = now.getMinutes();
	var ss = now.getSeconds();

Thanks.

Wargo (talkcontribs)

What problem?

ValterVB (talkcontribs)
Wargo (talkcontribs)

Clock isn't releated to purging. You mean line 36 instead?

ValterVB (talkcontribs)

MediaWiki:Gadget-UTCLiveClock.js don't have the problem because use correctly the "post" request, so I think that the fastest solution is to copy "UTCLiveClock" and modify it to use local time. I'm not expert on javascript, but I made a test and this solution work correctly. If someone more expert have different solution I haven't problem

Krinkle (talkcontribs)

YesY Done :)

There are no older topics
Return to "Gadget-LocalLiveClock.js" page.