Browse Source

! While Mantis 4870 had this dealt with, this is illogical. If you're substituting language-specific strings and the language needs them lower-case, make them lower case and be done with it... don't have workarounds for workarounds.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
875351674c
2 changed files with 1 additions and 3 deletions
  1. 1 1
      Sources/Subs.php
  2. 0 2
      Themes/default/languages/index.english.php

+ 1 - 1
Sources/Subs.php

@@ -700,7 +700,7 @@ function timeformat($log_time, $show_today = true, $offset_type = false)
 
 		foreach (array('%a', '%A', '%b', '%B') as $token)
 			if (strpos($str, $token) !== false)
-				$str = str_replace($token, !empty($txt['lang_capitalize_dates']) ? $smcFunc['ucwords'](strftime($token, $time)) : strftime($token, $time), $str);
+				$str = str_replace($token, strftime($token, $time), $str);
 	}
 	else
 	{

+ 0 - 2
Themes/default/languages/index.english.php

@@ -16,8 +16,6 @@ $txt['lang_spelling'] = 'american';
 $txt['lang_character_set'] = 'ISO-8859-1';
 // Character set and right to left?
 $txt['lang_rtl'] = false;
-// Capitalize day and month names?
-$txt['lang_capitalize_dates'] = true;
 // Number format.
 $txt['number_format'] = '1,234.00';