ramanathan1504 opened a new pull request, #4130:
URL: https://github.com/apache/logging-log4j2/pull/4130
Fixes #4129
DatePatternConverter incorrectly interpreted locale-like second arguments
(for example de-DE) as timezone IDs when no timezone was provided.
This caused patterns like %d{dd-MMMM-yyyy}{de-DE} to use the JVM default
locale instead of the requested locale, producing incorrect localized month
names.
This change tightens locale detection so locale tags are correctly
recognized in the 2-argument form, while preserving existing behavior for the
3-argument form %d{pattern}{timezone}{locale}.
--
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]