beetl 日期格式化,使用性能更好的 DataUtils 管理
This commit is contained in:
@@ -12,10 +12,10 @@ IMPORT_PACKAGE_cms=\
|
|||||||
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
||||||
|
|
||||||
##内置的格式化函数
|
##内置的格式化函数
|
||||||
#FT.dateFormat = org.beetl.ext.format.DateFormat
|
#FT.dateFormat = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
##内置的默认格式化函数
|
##内置的默认格式化函数
|
||||||
#FTC.java.util.Date = org.beetl.ext.format.DateFormat
|
#FTC.java.util.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
## 标签类
|
## 标签类
|
||||||
#TAG.include= org.beetl.ext.tag.IncludeTag
|
#TAG.include= org.beetl.ext.tag.IncludeTag
|
||||||
|
|||||||
@@ -117,15 +117,15 @@ FNP.array = org.beetl.ext.fn.ArrayUtil
|
|||||||
FNP.dict = com.jeesite.common.beetl.ext.fn.DictUtil
|
FNP.dict = com.jeesite.common.beetl.ext.fn.DictUtil
|
||||||
|
|
||||||
##内置的格式化函数
|
##内置的格式化函数
|
||||||
FT.dateFormat = org.beetl.ext.format.DateFormat
|
FT.dateFormat = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FT.numberFormat = com.jeesite.common.beetl.ext.format.NumberFormat
|
FT.numberFormat = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
FT.xss = com.jeesite.common.beetl.ext.format.XssFormat
|
FT.xss = com.jeesite.common.beetl.ext.format.XssFormat
|
||||||
|
|
||||||
##内置的默认格式化函数
|
##内置的默认格式化函数
|
||||||
FTC.java.util.Date = org.beetl.ext.format.DateFormat
|
FTC.java.util.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.sql.Date = org.beetl.ext.format.DateFormat
|
FTC.java.sql.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.sql.Time = org.beetl.ext.format.DateFormat
|
FTC.java.sql.Time = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.sql.Timestamp = org.beetl.ext.format.DateFormat
|
FTC.java.sql.Timestamp = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.lang.Short = com.jeesite.common.beetl.ext.format.NumberFormat
|
FTC.java.lang.Short = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
FTC.java.lang.Long = com.jeesite.common.beetl.ext.format.NumberFormat
|
FTC.java.lang.Long = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
FTC.java.lang.Integer = com.jeesite.common.beetl.ext.format.NumberFormat
|
FTC.java.lang.Integer = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
||||||
|
|
||||||
##内置的格式化函数
|
##内置的格式化函数
|
||||||
#FT.dateFormat = org.beetl.ext.format.DateFormat
|
#FT.dateFormat = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
##内置的默认格式化函数
|
##内置的默认格式化函数
|
||||||
#FTC.java.util.Date = org.beetl.ext.format.DateFormat
|
#FTC.java.util.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
## 标签类
|
## 标签类
|
||||||
#TAG.include= org.beetl.ext.tag.IncludeTag
|
#TAG.include= org.beetl.ext.tag.IncludeTag
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
||||||
|
|
||||||
##内置的格式化函数
|
##内置的格式化函数
|
||||||
#FT.dateFormat = org.beetl.ext.format.DateFormat
|
#FT.dateFormat = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
##内置的默认格式化函数
|
##内置的默认格式化函数
|
||||||
#FTC.java.util.Date = org.beetl.ext.format.DateFormat
|
#FTC.java.util.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
## 标签类
|
## 标签类
|
||||||
#TAG.include= org.beetl.ext.tag.IncludeTag
|
#TAG.include= org.beetl.ext.tag.IncludeTag
|
||||||
|
|||||||
@@ -2,8 +2,12 @@
|
|||||||
ENGINE=org.beetl.core.engine.FastRuntimeEngine
|
ENGINE=org.beetl.core.engine.FastRuntimeEngine
|
||||||
DELIMITER_PLACEHOLDER_START=${
|
DELIMITER_PLACEHOLDER_START=${
|
||||||
DELIMITER_PLACEHOLDER_END=}
|
DELIMITER_PLACEHOLDER_END=}
|
||||||
|
DELIMITER_PLACEHOLDER_START2="#{
|
||||||
|
DELIMITER_PLACEHOLDER_END2=}"
|
||||||
DELIMITER_STATEMENT_START=<%
|
DELIMITER_STATEMENT_START=<%
|
||||||
DELIMITER_STATEMENT_END=%>
|
DELIMITER_STATEMENT_END=%>
|
||||||
|
DELIMITER_STATEMENT_START2=//#
|
||||||
|
DELIMITER_STATEMENT_END2=
|
||||||
DIRECT_BYTE_OUTPUT = FALSE
|
DIRECT_BYTE_OUTPUT = FALSE
|
||||||
HTML_TAG_SUPPORT = true
|
HTML_TAG_SUPPORT = true
|
||||||
HTML_TAG_FLAG = #
|
HTML_TAG_FLAG = #
|
||||||
@@ -113,15 +117,15 @@ FNP.array = org.beetl.ext.fn.ArrayUtil
|
|||||||
FNP.dict = com.jeesite.common.beetl.ext.fn.DictUtil
|
FNP.dict = com.jeesite.common.beetl.ext.fn.DictUtil
|
||||||
|
|
||||||
##内置的格式化函数
|
##内置的格式化函数
|
||||||
FT.dateFormat = org.beetl.ext.format.DateFormat
|
FT.dateFormat = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FT.numberFormat = com.jeesite.common.beetl.ext.format.NumberFormat
|
FT.numberFormat = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
FT.xss = com.jeesite.common.beetl.ext.format.XssFormat
|
FT.xss = com.jeesite.common.beetl.ext.format.XssFormat
|
||||||
|
|
||||||
##内置的默认格式化函数
|
##内置的默认格式化函数
|
||||||
FTC.java.util.Date = org.beetl.ext.format.DateFormat
|
FTC.java.util.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.sql.Date = org.beetl.ext.format.DateFormat
|
FTC.java.sql.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.sql.Time = org.beetl.ext.format.DateFormat
|
FTC.java.sql.Time = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.sql.Timestamp = org.beetl.ext.format.DateFormat
|
FTC.java.sql.Timestamp = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
FTC.java.lang.Short = com.jeesite.common.beetl.ext.format.NumberFormat
|
FTC.java.lang.Short = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
FTC.java.lang.Long = com.jeesite.common.beetl.ext.format.NumberFormat
|
FTC.java.lang.Long = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
FTC.java.lang.Integer = com.jeesite.common.beetl.ext.format.NumberFormat
|
FTC.java.lang.Integer = com.jeesite.common.beetl.ext.format.NumberFormat
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
#FNP.strutil = org.beetl.ext.fn.StringUtil
|
||||||
|
|
||||||
##内置的格式化函数
|
##内置的格式化函数
|
||||||
#FT.dateFormat = org.beetl.ext.format.DateFormat
|
#FT.dateFormat = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
##内置的默认格式化函数
|
##内置的默认格式化函数
|
||||||
#FTC.java.util.Date = org.beetl.ext.format.DateFormat
|
#FTC.java.util.Date = com.jeesite.common.beetl.ext.format.DateFormat
|
||||||
|
|
||||||
## 标签类
|
## 标签类
|
||||||
#TAG.include= org.beetl.ext.tag.IncludeTag
|
#TAG.include= org.beetl.ext.tag.IncludeTag
|
||||||
|
|||||||
Reference in New Issue
Block a user