http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72327

Revision: 72327
Author:   kaldari
Date:     2010-09-03 22:12:12 +0000 (Fri, 03 Sep 2010)

Log Message:
-----------
extra fix for end time support (r72318)

Modified Paths:
--------------
    trunk/extensions/CentralNotice/SpecialCentralNotice.php

Modified: trunk/extensions/CentralNotice/SpecialCentralNotice.php
===================================================================
--- trunk/extensions/CentralNotice/SpecialCentralNotice.php     2010-09-03 
22:10:07 UTC (rev 72326)
+++ trunk/extensions/CentralNotice/SpecialCentralNotice.php     2010-09-03 
22:12:12 UTC (rev 72327)
@@ -386,12 +386,14 @@
                                $end_year = substr( $end_timestamp, 0 , 4 );
                                $end_month = substr( $end_timestamp, 4, 2 );
                                $end_day = substr( $end_timestamp, 6, 2 );
+                               $end_hour = substr( $end_timestamp, 8, 2 );
+                               $end_min = substr( $end_timestamp, 10, 2 );
 
                                // Start
                                $fields[] = 
"{$start_year}/{$start_month}/{$start_day} {$start_hour}:{$start_min}";
 
                                // End
-                               $fields[] = 
"{$end_year}/{$end_month}/{$end_day}";
+                               $fields[] = 
"{$end_year}/{$end_month}/{$end_day} {$end_hour}:{$end_min}";
 
                                // Enabled
                                $fields[] =



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to