title: Datetime Datatype not rendering on the view FLASK
body: <p>Everyone, I am writing this program related to transactions and in one view I am rendering the history of the transactions and for some reason the created_at column is not rendering the date when the transaction happened. Any tips?
  here is the application.py:</p>
  <pre><code>def history():
      transactions = db.execute(&quot;SELECT symbol, shares, shares_price, created_at FROM bonds WHERE user_id = :user_id ORDER BY created_at ASC&quot;, user_id = session[&quot;user_id&quot;])
      return render_template(&quot;history.html&quot;, transactions=transactions)
  </code></pre>
  <p>here is the view:</p>
  <pre><code> {% for t in transactions %}
              &lt;tr&gt;
                  &lt;td&gt;{{ t.symbol }}&lt;/td&gt;
                  &lt;td&gt;{{ t.shares }}&lt;/td&gt;
                  &lt;td&gt;{{ (t.shares * t.shares_price) | usd }}&lt;/td&gt;
                  &lt;td&gt;{{ t.created_at }}&lt;/td&gt;
              &lt;/tr&gt;
    {% endfor %}
  </code></pre>
  <p>and lastly here is the database file in case yall need it:</p>
  <pre><code>column: created_at  
  datatype: DATETIME  
  NULL: No    
  default value: None 
  primary key: No
  </code></pre>