Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -113,7 +113,11 @@ |
114 | 114 | $this->BlockEmail = $currentBlock->mBlockEmail; |
115 | 115 | $this->BlockHideName = $currentBlock->mHideName; |
116 | 116 | $this->BlockAllowUsertalk = $currentBlock->mAllowUsertalk; |
117 | | - $this->BlockOther = wfTimestamp( TS_RFC2822, $currentBlock->mExpiry ); |
| 117 | + if( $currentBlock->mExpiry == 'infinity' ) { |
| 118 | + $this->BlockOther = 'indefinite'; |
| 119 | + } else { |
| 120 | + $this->BlockOther = wfTimestamp( TS_ISO_8601, $currentBlock->mExpiry ); |
| 121 | + } |
118 | 122 | $this->BlockReason = $currentBlock->mReason; |
119 | 123 | } |
120 | 124 | } |