Merge pull request #301 from misol/lets-date

날짜 선택기 개선 작업
This commit is contained in:
MinSoo Kim 2016-03-12 23:50:43 +09:00
commit 64ce9520e7
85 changed files with 3065 additions and 36 deletions

View file

@ -23,7 +23,7 @@ class pollController extends poll
// mobile input date format can be different
if($stop_date != Context::get('stop_date'))
{
$stop_date = date('Ymd', strtodate(Context::get('stop_date')));
$stop_date = date('Ymd', strtotime(Context::get('stop_date')));
}
if($stop_date < date('Ymd'))
{