# Path: statik/templatetags.py
# class TemplateTagStore(object):
#     def __init__(self):
#     def invoke_tag(self, tag_name, context, *args, **kwargs):
#     def register_tag(self, name, fn):
#     def register_filter(self, name, fn):
#     def simple_tag(self, *args, **kwargs):
#             def decorator(fn):
#     def filter(self, *args, **kwargs):
#             def decorator(fn):


from statik.templatetags import register
# -*- coding:utf-8 -*-



@register.filter(name="date")
def filter_datetime(value, format="%Y-%m-%d %H:%M:%S"):
    return value.strftime(format)



# Path: statik/templatetags.py
# class TemplateTagStore(object):
#     def __init__(self):
#     def invoke_tag(self, tag_name, context, *args, **kwargs):
#     def register_tag(self, name, fn):
#     def register_filter(self, name, fn):
#     def simple_tag(self, *args, **kwargs):
#             def decorator(fn):
#     def filter(self, *args, **kwargs):
#             def decorator(fn):


# Path: statik/filters.py
from statik.templatetags import register

# -*- coding:utf-8 -*-



@register.filter(name="date")
def filter_datetime(value, format="%Y-%m-%d %H:%M:%S"):
    return value.strftime(format)



@register.filter(name="sort_by")