Initialize DataTime with 'now' instead of 'today' (today doesn't give accurate results)

This commit is contained in:
Zach Copley 2011-08-23 22:21:55 +00:00
parent fbed85e868
commit 8e2a9bfa5b

View File

@ -109,7 +109,7 @@ class EventForm extends Form
$this->li();
$today = new DateTime('today');
$today = new DateTime('now');
$today->setTimezone(new DateTimeZone(common_timezone()));
$this->out->input('event-startdate',