Changeset 674 for trunk/phpbms/include
- Timestamp:
- 11/05/09 15:34:17 (3 years ago)
- Location:
- trunk/phpbms/include
- Files:
-
- 3 modified
-
common_functions.php (modified) (2 diffs)
-
jstransport.php (modified) (1 diff)
-
tables.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/include/common_functions.php
r673 r674 831 831 832 832 case "SQL": 833 $datestring= strftime("%Y-%m-%d",$thedate);833 $datestring=@strftime("%Y-%m-%d",$thedate); 834 834 break; 835 835 836 836 case "English, US": 837 $datestring= strftime("%m/%d/%Y",$thedate);837 $datestring=@strftime("%m/%d/%Y",$thedate); 838 838 break; 839 839 840 840 case "English, UK": 841 $datestring= strftime("%d/%m/%Y",$thedate);841 $datestring=@strftime("%d/%m/%Y",$thedate); 842 842 break; 843 843 844 844 case "Dutch, NL": 845 $datestring= strftime("%d-%m-%Y",$thedate);845 $datestring=@strftime("%d-%m-%Y",$thedate); 846 846 break; 847 847 } … … 855 855 switch($format){ 856 856 case "24 Hour": 857 $timestring= strftime("%H:%M:%S",$thetime);857 $timestring=@strftime("%H:%M:%S",$thetime); 858 858 break; 859 859 case "12 Hour": 860 $timestring=trim( strftime(HOUR_FORMAT.":%M %p",$thetime));860 $timestring=trim(@strftime(HOUR_FORMAT.":%M %p",$thetime)); 861 861 break; 862 862 } -
trunk/phpbms/include/jstransport.php
r485 r674 52 52 $mNames = ""; 53 53 for($i=0; $i < 11; $i++) 54 $mNames .= ', "'. strftime("%B", mktime(0, 0, 0, $i+1, 1, 1974)).'"';54 $mNames .= ', "'.@strftime("%B", mktime(0, 0, 0, $i+1, 1, 1974)).'"'; 55 55 $mNames = substr($mNames, 2); 56 56 -
trunk/phpbms/include/tables.php
r645 r674 165 165 166 166 case "year": 167 $default = strftime("%Y");167 $default = @strftime("%Y"); 168 168 break; 169 169 … … 264 264 $value = NULL; 265 265 else 266 $value = strftime("%Y");266 $value = @strftime("%Y"); 267 267 break; 268 268