소스 검색

[svn r12235] Display the date in the correct format

Julian Prud'homme 18 년 전
부모
커밋
694036186e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      main/exercice/exercice.php

+ 2 - 2
main/exercice/exercice.php

@@ -24,7 +24,7 @@
 *	@author Olivier Brouckaert, original author
 *	@author Denes Nagy, HotPotatoes integration
 *	@author Wolfgang Schneider, code/html cleanup
-* 	@version $Id: exercice.php 12220 2007-05-01 22:19:23Z yannoo $
+* 	@version $Id: exercice.php 12235 2007-05-02 13:17:31Z elixir_julian $
 */
 
 
@@ -862,7 +862,7 @@ if($_configuration['tracking_enabled'])
 		  <?php if($is_allowedToEdit): ?>
 			<td><?php $user = $results[$i][0]; echo $results[$i][0]; ?></td><?php endif; ?>
 		  <td><?php $test = $results[$i][1]; echo $results[$i][1]; ?></td>
-		  <td><?php $dt = strftime($dateTimeFormatLong,$results[$i][4]); echo strftime($dateTimeFormatLong,$results[$i][4]); ?></td>
+		  <td><?php $dt = strftime($dateTimeFormatLong,$results[$i][4]); echo format_locale_date(get_lang('dateTimeFormatLong'),$results[$i][4]) ?></td>
 		  <td><?php $res = $results[$i][2]; echo $results[$i][2]; ?> / <?php echo $results[$i][3]; ?></td>
 		 <td><?php echo $is_allowedToEdit?"<a href='exercise_show.php?user=$user&dt=$dt&res=$res&id=$id&email=$mailid'>".get_lang("Edit")."</a>":"<a href='exercise_show.php?dt=$dt&res=$res&id=$id'>".get_lang('Show')."</a>"?></td>