Polish "Support iso-offset for date-time and time formatting with MVC"
See gh-21630
This commit is contained in:
@@ -107,7 +107,7 @@ public class DateTimeFormatters {
|
||||
}
|
||||
|
||||
private static boolean isIsoOffset(String pattern) {
|
||||
return "isooffset".equalsIgnoreCase(pattern);
|
||||
return "isooffset".equalsIgnoreCase(pattern) || "iso-offset".equalsIgnoreCase(pattern);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1966,8 +1966,8 @@
|
||||
"description": "ISO-8601 extended local date-time format."
|
||||
},
|
||||
{
|
||||
"value": "isooffset",
|
||||
"description": "ISO Offset local date-time format."
|
||||
"value": "iso-offset",
|
||||
"description": "ISO offset date-time format."
|
||||
}
|
||||
],
|
||||
"providers": [
|
||||
@@ -1988,8 +1988,8 @@
|
||||
"description": "ISO-8601 extended local time format"
|
||||
},
|
||||
{
|
||||
"value": "isooffset",
|
||||
"description": "ISO Offset local time format."
|
||||
"value": "iso-offset",
|
||||
"description": "ISO offset time format."
|
||||
}
|
||||
],
|
||||
"providers": [
|
||||
|
||||
Reference in New Issue
Block a user