Update layouts.js
This commit is contained in:
parent
cd286fa25f
commit
7888381991
@ -167,6 +167,8 @@ function patternLayout (pattern, tokens) {
|
|||||||
// Pick up special cases
|
// Pick up special cases
|
||||||
if (format == "ISO8601") {
|
if (format == "ISO8601") {
|
||||||
format = dateFormat.ISO8601_FORMAT;
|
format = dateFormat.ISO8601_FORMAT;
|
||||||
|
} else if (format == "ISO8601_WITH_TZ_OFFSET") {
|
||||||
|
format = dateFormat.ISO8601_WITH_TZ_OFFSET_FORMAT;
|
||||||
} else if (format == "ABSOLUTE") {
|
} else if (format == "ABSOLUTE") {
|
||||||
format = dateFormat.ABSOLUTETIME_FORMAT;
|
format = dateFormat.ABSOLUTETIME_FORMAT;
|
||||||
} else if (format == "DATE") {
|
} else if (format == "DATE") {
|
||||||
|
Loading…
Reference in New Issue
Block a user