ppkarwasz opened a new issue, #1416: URL: https://github.com/apache/logging-log4j2/issues/1416
In release 2.x date time patterns follow [`SimpleDateFormat`](https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html) with additional extensions provided by [`FastDateFormat`](https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/FastDateFormat.html) and support for the `n` specifier for nanoseconds. The exception is JSON Template Layout, which uses the format specifiers from [`DateTimeFormatter`](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html). In release 3.x we should switch all format specifiers to those documented `DateTimeFormatter`. The major differences are: * `u` means day-of-week in SDT and era in DTF, * SDT lacks `L` meaning month as text, * SDT lacks `q` and `Q` as quarter, * in DTF `Z`, `ZZ` and `ZZZ` all mean the same format for the time zone (e.g. `-0800`, `+0000`). In FDT `ZZ` uses the ISO 8601 format with a colon (e.g. `-08:00`, `Z`) and `ZZZ` adds a colon to the original `Z` format (e.g. `-08:00`, `+00:00`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
