https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111961
Revision: 111961
Author: jeroendedauw
Date: 2012-02-20 20:44:47 +0000 (Mon, 20 Feb 2012)
Log Message:
-----------
only show dates for course start and end
Modified Paths:
--------------
trunk/extensions/EducationProgram/actions/ViewCourseAction.php
Modified: trunk/extensions/EducationProgram/actions/ViewCourseAction.php
===================================================================
--- trunk/extensions/EducationProgram/actions/ViewCourseAction.php
2012-02-20 20:21:18 UTC (rev 111960)
+++ trunk/extensions/EducationProgram/actions/ViewCourseAction.php
2012-02-20 20:44:47 UTC (rev 111961)
@@ -88,8 +88,8 @@
$lang = $this->getLanguage();
$stats['term'] = htmlspecialchars( $course->getField( 'term' )
);
- $stats['start'] = htmlspecialchars( $lang->timeanddate(
$course->getField( 'start' ), true ) );
- $stats['end'] = htmlspecialchars( $lang->timeanddate(
$course->getField( 'end' ), true ) );
+ $stats['start'] = htmlspecialchars( $lang->date(
$course->getField( 'start' ), true ) );
+ $stats['end'] = htmlspecialchars( $lang->date(
$course->getField( 'end' ), true ) );
$stats['students'] = htmlspecialchars( $lang->formatNum(
$course->getField( 'student_count' ) ) );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs