vy commented on code in PR #4130:
URL: https://github.com/apache/logging-log4j2/pull/4130#discussion_r3316666111


##########
src/changelog/.2.x.x/LOG4J2-4129_Fix_DatePatternConverter_locale_without_timezone.xml:
##########
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="https://logging.apache.org/xml/ns";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="
+           https://logging.apache.org/xml/ns
+           https://logging.apache.org/xml/ns/log4j-changelog-0.xsd";
+       type="fixed">
+  <issue id="4129" 
link="https://github.com/apache/logging-log4j2/issues/4129"/>
+  <description format="asciidoc">
+    Fix `DatePatternConverter` to treat `%d{pattern}{de-DE}` as locale when 
timezone is omitted.
+    `%d{pattern}{timezone}{locale}` behavior is unchanged.

Review Comment:
   ```suggestion
     <issue id="4129" 
link="https://github.com/apache/logging-log4j2/issues/4129"/>
     <issue id="4130" 
link="https://github.com/apache/logging-log4j2/pull/4130"/>
     <description format="asciidoc">
       Fix locale handling in the Pattern Layout's date pattern converter
   ```



-- 
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]

Reply via email to