Last modified: 2006-04-30 12:21:14 UTC
When setting $wgLocalTZoffset to 5.5 for Indian Standard Time, MediaWiki takes it as 5. So the time is 30 minutes behind the intended time. I tried using server time by setting the $wgLocalTZoffset to " date("Z") / 3600 " but it was of no use. I also changed to 3600 to other nos. but in vain. However, in user preferences, setting time zone offset to 05:30 works. It may be because $wgLocalTZoffset is int, but I don't know much of PHP and MediaWiki.
$wgLocalTZoffset is a number of hours :(
Fixed in trunk@13969 should be in MediaWiki 1.7. I changed the setting to use minutes instead of hours.