Last modified: 2009-01-12 16:47:12 UTC
Regarding r42075. The comments in the code indicate that {{REVISIONTIMESTAMP}} is supposed to output the timestamp adjusted for the server-local timezone. However, the actual page output is adjusted for the timezone of the user who last triggered parsing of the page. I'm not sure if the underlying bug is in getRevisionTimestamp() [includes/parser/Parser.php line 4646] or in userAdjust() [languages/Language.php line 466]. REVISIONTIMESTAMP expects that passing '' to userAdjust() for the $tz parameter will use the server-local timezone. However the "if (!$tz)" check in userAdjust() at line 469 overrides $tz with the user timezone if $tz is ''. I don't know whether passing '' to userAdjust() to get the server-local timezone is the intended behavior (in which case that check should be "if ($tz === false)") or whether getRevisionTimestamp() is wrong in thinking that works.
This was taken care of in r44915, by changing userAdjust().