title: Fill out datetime-local field with existing localdatetime object in jsp using spring form
body: <p>This is an editing form that will have all the fields filled out using existing data from database.  Regular text input fills out just fine but I am having issue doing the same with datetime.             </p>
  
  <pre><code>&lt;sf:form class="form-horizontal" role="form" modelAttribute="sighting" action="edit" method="POST"&gt;
      &lt;div class="form-group"&gt;
            &lt;label for="Reported Time" class="col-md-4 col-sm-4 col-xs-12 control-label"&gt;
                 Reported Time:
            &lt;/label&gt;
            &lt;div class="col-md-4 col-sm-6 col-xs-12"&gt;
                 &lt;sf:input type="datetime-local" class="add-form form-control" path="sightingDate" name="sightingDate"/&gt;
            &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>