class_docstr: A date formatter object used as a jinja filter
  
  Uses the `strftime` implementation and makes sure jinja uses the locale
  defined in LOCALE setting
class_docstr_tok: ["A","date","formatter","object","used","as","a","jinja","filter","Uses","the","`","strftime","`","implementation","and","makes","sure","jinja","uses","the","locale","defined","in","LOCALE","setting"]
code: def __init__(self):
      self.locale = locale.setlocale(locale.LC_TIME)
  
imports: import datetime
  import fnmatch
  import locale
  import logging
  import os
  import pathlib
  import re
  import shutil
  import sys
  import traceback
  import urllib
  from collections.abc import Hashable
  from contextlib import contextmanager
  from functools import partial
  from html import entities
  from html.parser import HTMLParser
  from itertools import groupby
  from operator import attrgetter
  import dateutil.parser
  from markupsafe import Markup
  import watchfiles
label_desc: Use image node_id 1 to create a new DateFormatter object  with example: obj = DateFormatter()