Index: trunk/extensions/EducationProgram/actions/EditCourseAction.php |
— | — | @@ -242,7 +242,7 @@ |
243 | 243 | */ |
244 | 244 | protected function handleKnownField( $name, $value ) { |
245 | 245 | if ( in_array( $name, array( 'end', 'start' ) ) ) { |
246 | | - $value = wfTimestamp( TS_MW, strtotime( $value ) ); |
| 246 | + $value = wfTimestamp( TS_MW, strtotime( $value. ' UTC' ) ); |
247 | 247 | } |
248 | 248 | |
249 | 249 | return $value; |
Index: trunk/extensions/EducationProgram/includes/EPHTMLDateField.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | } |
29 | 29 | |
30 | 30 | function getInputHTML( $value ) { |
31 | | - $value = explode( 'T', wfTimestamp( TS_ISO_8601, strtotime( $value ) ) ); |
| 31 | + $value = explode( 'T', wfTimestamp( TS_ISO_8601, strtotime( $value . ' UTC' ) ) ); |
32 | 32 | return parent::getInputHTML( $value[0] ); |
33 | 33 | } |
34 | 34 | |
Index: trunk/extensions/EducationProgram/includes/EPDBObject.php |
— | — | @@ -1278,7 +1278,6 @@ |
1279 | 1279 | $excluded = $excludeSummaryFields && in_array( $name, $this->getSummaryFields() ); |
1280 | 1280 | |
1281 | 1281 | if ( !$excluded && $object->getField( $name ) !== $value ) { |
1282 | | - //q($name, $value, $object->getField( $name )); |
1283 | 1282 | return true; |
1284 | 1283 | } |
1285 | 1284 | } |