Changeset 1912 for branches/release-35/lib/MT/Util.pm
- Timestamp:
- 04/15/08 07:12:39 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-35/lib/MT/Util.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-35/lib/MT/Util.pm
r1873 r1912 26 26 epoch2ts ts2epoch escape_unicode unescape_unicode 27 27 sax_parser trim ltrim rtrim asset_cleanup caturl multi_iter 28 weaken );28 weaken log_time ); 29 29 30 30 { … … 1937 1937 } 1938 1938 1939 sub log_time { 1940 return format_ts( 1941 '[%Y-%m-%d %H:%M:%S]', 1942 epoch2ts(undef, time), 1943 undef, 1944 MT->config->DefaultLanguage, 1945 0 1946 ); 1947 } 1948 1939 1949 ## FIXME 1940 1950 # This method is to supplement CGI.pm's lack of read method. … … 2125 2135 Content will be sanitized based on pre-defined rules. 2126 2136 2137 =head2 log_time 2138 2139 Returns the current server time in log specific format. 2140 2127 2141 =head1 AUTHOR & COPYRIGHTS 2128 2142
