Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -457,13 +457,13 @@ |
458 | 458 | } |
459 | 459 | |
460 | 460 | // Date and time calculations |
461 | | - $start_timestamp = $row->not_start; |
| 461 | + $start_timestamp = wfTimestamp( TS_MW, $row->not_start ); |
462 | 462 | $start_year = substr( $start_timestamp, 0 , 4 ); |
463 | 463 | $start_month = substr( $start_timestamp, 4, 2 ); |
464 | 464 | $start_day = substr( $start_timestamp, 6, 2 ); |
465 | 465 | $start_hour = substr( $start_timestamp, 8, 2 ); |
466 | 466 | $start_min = substr( $start_timestamp, 10, 2 ); |
467 | | - $end_timestamp = $row->not_end; |
| 467 | + $end_timestamp = wfTimestamp( TS_MW, $row->not_end ); |
468 | 468 | $end_year = substr( $end_timestamp, 0 , 4 ); |
469 | 469 | $end_month = substr( $end_timestamp, 4, 2 ); |
470 | 470 | $end_day = substr( $end_timestamp, 6, 2 ); |