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 11f2078893
commit 95032a39bb

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',