title: flask jinja string to date (strftime) function
body: <p>Hi i am coding flask app but when i send a post data to an html from backend i can't conver it from string to date in html page?</p>
  <pre><code>@bp.route('/')
  def index():
      db = get_db()
      posts = db.execute(
          'SELECT p.id, title, body, created, author_id, username'
          ' FROM post p JOIN user u ON p.author_id = u.id'
          ' ORDER BY created DESC'
      ).fetchall()
      return render_template('blog/index.html', posts=posts)
  </code></pre>
  <p>i return posts with &quot;created&quot; date with time and try to display just date</p>
  <p><code>post['created'].strftime('%Y-%m-%d')</code></p>
  <p>but i take the error like:
  <code>jinja2.exceptions.TemplateAssertionError: No filter named 'strfdate'.</code></p>