add tz
This commit is contained in:
1 parent
7eb95e4e84
commit
7e71c5e3ae
8 files changed
+40812
-33902
No files matched your search
@@ -66,6 +66,7 @@ tag: [
|
||||
("for")
|
||||
("empty")
|
||||
("endfor")
|
||||
("get_current_timezone")
|
||||
("get_media_prefix")
|
||||
("get_static_prefix")
|
||||
("if")
|
||||
@@ -79,6 +80,8 @@ tag: [
|
||||
("load")
|
||||
("localize")
|
||||
("endlocalize")
|
||||
("localtime")
|
||||
("endlocaltime")
|
||||
("now")
|
||||
("partial")
|
||||
("partialdef")
|
||||
@@ -90,6 +93,8 @@ tag: [
|
||||
("endspaceless")
|
||||
("static")
|
||||
("templatetag")
|
||||
("timezone")
|
||||
("endtimezone")
|
||||
("url")
|
||||
("verbatim")
|
||||
("endverbatim")
|
||||
@@ -127,6 +132,7 @@ tag: [
|
||||
("linenumbers")
|
||||
("ljust")
|
||||
("localize")
|
||||
("localtime")
|
||||
("lower")
|
||||
("make_list")
|
||||
("phone2numeric")
|
||||
@@ -143,6 +149,7 @@ tag: [
|
||||
("time")
|
||||
("timesince")
|
||||
("timeuntil")
|
||||
("timezone")
|
||||
("title")
|
||||
("truncatechars")
|
||||
("truncatechars_html")
|
||||
@@ -154,6 +161,7 @@ tag: [
|
||||
("urlencode")
|
||||
("urlize")
|
||||
("urlizetrunc")
|
||||
("utc")
|
||||
("wordcount")
|
||||
("wordwrap")
|
||||
("yesno")] @function)
|
||||
|
||||
@@ -32,6 +32,21 @@
|
||||
("localize")
|
||||
("unlocalize")] @library.l10n)
|
||||
|
||||
(localtime_group
|
||||
tag: ("localtime") @library.tz)
|
||||
|
||||
(timezone_group
|
||||
tag: ("timezone") @library.tz)
|
||||
|
||||
(get_current_timezone
|
||||
tag: ("get_current_timezone") @library.tz)
|
||||
|
||||
(filter
|
||||
name: [
|
||||
("localtime")
|
||||
("timezone")
|
||||
("utc")] @library.tz)
|
||||
|
||||
; "{% load static %}" makes every name in the library available; "{% load
|
||||
; static from staticfiles %}" makes only the names listed available.
|
||||
(load
|
||||
|
||||
Reference in new issue
Block a user