This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new a4364da103 Fix date format from `mm` to `MM` in pattern layout (#4257)
a4364da103 is described below

commit a4364da103fa08dd3bad6fcecef793ca9e9bee59
Author: Przemek SadÅ‚o <[email protected]>
AuthorDate: Thu Aug 27 14:08:45 2026 +0200

    Fix date format from `mm` to `MM` in pattern layout (#4257)
---
 src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc 
b/src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc
index 4e3943066a..bb49ba90f2 100644
--- a/src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/pattern-layout.adoc
@@ -464,7 +464,7 @@ You can also define custom date formats, see following 
examples:
 |%d{HH:mm:ss,SSS}
 |14:34:02,123
 
-|%d{yyyy-mm-dd'T'HH:mm:ss.SSS'Z'}\{UTC}
+|%d{yyyy-MM-dd'T'HH:mm:ss.SSS'Z'}\{UTC}
 |2012-11-02T14:34:02.123Z
 
 |%d\{dd-MMMM-yyyy}\{UTC}\{de-DE}

Reply via email to