We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8e2a9bfa authored by Zach Copley's avatar Zach Copley

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

parent fbed85e8
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment