Wikia

Community Central

Admin Forum:How to make cached timestamp independent of time-zone?

18,676pages on
this wiki
Talk0

This Forum has been archived

Forums: Admin Central Index Technical Help How to make cached timestamp independent of time-zone?
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1288 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


I discovered that the system message MediaWiki:Perfcachedts, used on pages such as Special:WantedPages, is affected by the time-zone offset in personal preferences. Does anyone know whether there is a way to make it show a timezone-independent timestamp (UTC preferably)? --BryghtShadow 07:34, February 26, 2012 (UTC)

I doubt there is a reliable way. The time appears to be generated by MediaWiki engine PHP. I suppose you could write an extension that would override the time and show UTC, but that is clearly not a simple way. I'm assuming by "is there a way" you meant relatively simple.
If this only for your personal viewing, you could re-write the time with Javascript based on your known offset from UTC, but again, not simple.-- Fandyllic (talk · contr) 29 Feb 2012 6:09 PM Pacific

Around Wikia's network

Random Wiki