[ 
https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624055#comment-17624055
 ] 

Adwait Kumar Singh commented on LOG4J2-3019:
--------------------------------------------

This is not fixed if run in TimeZone which has minutes. I have raised a PR for 
the same, https://github.com/apache/logging-log4j2/pull/1127

> HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
> -------------------------------------------------------------------------
>
>                 Key: LOG4J2-3019
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3019
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.14.0
>         Environment: OS: Windows 10 Enterprise 
> Version: 20H2
> OS Build: 19042.746
> Experience: Windows Feature Experience Pack 120.2212.551.0
> java version "1.8.0_192"
> Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
>            Reporter: Luc Kleeven
>            Assignee: Volkan Yazici
>            Priority: Minor
>             Fix For: 2.18.0
>
>
> When running a './mvnw verify' on the 'release-2.x' branche, last commit id 
> '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails:
> {code:java}
> [ERROR]   
> HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273
>  Incorrect date=<td>02 Nov 2012 21:34:02,123</td>, format=DATE, 
> timezone=GMT+8 ==> expected: <<td>02 nov 2012 21:34:02,123</td>> but was: 
> <<td>02 Nov 2012 21:34:02,123</td>> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to