title: Django - DateTime Model field saving time as midnight
body: <p>I'm experiencing an unusual and frustrating challenge: I have formatted the date/time input inside of the form so it knows what format I'm sending it in, the form validates, and there are no challenges with the data, however when it's saving it saves the time as midnight no matter what way I plug it in.</p>
  <p>The failing value is sample_date, in the below model.</p>
  <p>Database Pic: <a href="https://imgur.com/yUObctR" rel="nofollow noreferrer">https://imgur.com/yUObctR</a></p>
  <p><strong>Model</strong></p>
  <pre class="lang-py prettyprint-override"><code>class WaterTest(models.Model):
      name = models.CharField(max_length=200)
      sample_date = models.DateTimeField()
      sample_address = models.TextField()
      mailing_address = models.TextField(blank=True, null=True)
      sample_point = models.CharField(max_length=200)
      job_site = models.ForeignKey(JobSite, on_delete=models.CASCADE, blank=True, null=True)
      template = models.ForeignKey(Template, on_delete=models.CASCADE, blank=True, null=True)
      collected_by = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE)
  
      def __str__(self):
          return f&quot;{self.name}: {self.sample_address}&quot;
  
      class Meta:
          verbose_name = 'Water Test'
          verbose_name_plural = 'Water Tests'
  </code></pre>
  <p><strong>Form</strong></p>
  <pre class="lang-py prettyprint-override"><code>class CreateWaterTestForm(forms.ModelForm):
      sample_date = forms.DateField(input_formats=['%m/%d/%Y %H:%M'])
  
      class Meta:
          model = WaterTest
          fields = ['name', 'sample_date', 'sample_address', 'mailing_address', 'sample_point', 'job_site', 'template',
                    'collected_by']
  </code></pre>
  <p><strong>create_report.html</strong></p>
  <pre class="lang-py prettyprint-override"><code>&lt;div class=&quot;col-md-6&quot;&gt;
      &lt;div class=&quot;mb-3&quot;&gt;
          {{ form.sample_date.errors }}
          &lt;label class=&quot;form-label&quot; for=&quot;{{ form.sample_date.id_for_label }}&quot;&gt;Sample Date/Time &lt;span class=&quot;text-danger&quot;&gt;*&lt;/span&gt;&lt;/label&gt;
          {{ form.sample_date|add_class:&quot;form-control&quot; }}
      &lt;/div&gt;
  &lt;/div&gt;&lt;!-- Col --&gt;
  </code></pre>
  <pre class="lang-js prettyprint-override"><code>&lt;script&gt;
    $(&quot;#{{ form.sample_date.id_for_label }}&quot;).datetimepicker({
      {% if THEME == 'demo2' %}theme: 'dark',{% endif %}
      format: 'm/d/Y H:i'
    });
  &lt;/script&gt;
  </code></pre>
  <p>DateTime picker: <a href="https://xdsoft.net/jqplugins/datetimepicker/" rel="nofollow noreferrer">https://xdsoft.net/jqplugins/datetimepicker/</a></p>
  <p>GitHub: <a href="https://github.com/varlenthegray/wcadmin/tree/dev" rel="nofollow noreferrer">https://github.com/varlenthegray/wcadmin/tree/dev</a></p>