format
This commit is contained in:
parent
eefc327193
commit
c97ee041cc
@ -76,6 +76,7 @@ def formattedDate(value, formatter="%m/%d/%Y"):
|
||||
def dateFromString(value, formatter="%m/%Y"):
|
||||
return datetime.datetime.strptime(value, formatter)
|
||||
|
||||
|
||||
def string(value):
|
||||
return app.jinja_env.filters["string"](value)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user