0036nobodyさん
2012/01/31(火) 16:33:52.67ID:???function getDate(){
$d = $this->item['dc']['date'];
if (!$d || $d == '1970-01-01') {
if ($this->item['pubdate']) {
return date('Y-m-d', strtotime($this->item['pubdate']));
} else {
return '1970-01-01';
}
}
}
試してないから動くかは知らん