Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -54,7 +54,8 @@ |
55 | 55 | } else if ( strlen($this->mTitle->mRestrictionsExpiry) == 0 ) { |
56 | 56 | $this->mExpiry = ''; |
57 | 57 | } else { |
58 | | - $this->mExpiry = wfTimestamp( TS_RFC2822, $this->mTitle->mRestrictionsExpiry ); |
| 58 | + // FIXME: this format is not user friendly |
| 59 | + $this->mExpiry = wfTimestamp( TS_ISO_8601, $this->mTitle->mRestrictionsExpiry ); |
59 | 60 | } |
60 | 61 | } |
61 | 62 | |
— | — | @@ -170,6 +171,8 @@ |
171 | 172 | return false; |
172 | 173 | } |
173 | 174 | |
| 175 | + // Fixme: non-qualified absolute times are not in users specified timezone |
| 176 | + // and there isn't notice about it in the ui |
174 | 177 | $expiry = wfTimestamp( TS_MW, $expiry ); |
175 | 178 | |
176 | 179 | if ( $expiry < wfTimestampNow() ) { |