Jump to content

Topic on MediaWiki talk:Gadget-LocalLiveClock.js

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 :)