add w3dtf date to rss 1.0 items
darcs-hash:20080521145916-84dde-4a5e04edb1bdcdb5e33bed7497dcf93be88636f8.gz
This commit is contained in:
@@ -380,6 +380,11 @@ function common_date_string($dt) {
|
||||
return $dt;
|
||||
}
|
||||
|
||||
function common_date_w3dtf($dt) {
|
||||
$t = strtotime($dt);
|
||||
return date(DATE_W3C, $t);
|
||||
}
|
||||
|
||||
function common_redirect($url, $code=307) {
|
||||
static $status = array(301 => "Moved Permanently",
|
||||
302 => "Found",
|
||||
|
Reference in New Issue
Block a user