Fandom

Community Central

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

19,031pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Forums: Admin Central Index Technical Help How to make cached timestamp independent of time-zone?
Central'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 1366 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

Also on Fandom

Random Wiki