To show current month's items, date format is changed into 'Ym'

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2658 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2007-09-30 13:13:32 +00:00
parent fd27a03264
commit 1255a05a50

View file

@ -26,7 +26,7 @@
$regdate = Context::get('search_keyword');
if($regdate) $obj->regdate = zdate($regdate, 'Ym');
}
if(!$obj->regdate) $obj->regdate = date('YmdHis');
if(!$obj->regdate) $obj->regdate = zdate(date('YmdHis'), 'Ym');
// document 모듈의 model 객체를 받아서 getDailyArchivedList() method를 실행
$oDocumentModel = &getModel('document');