You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Ezer Karavani (Jira)" <ji...@apache.org> on 2019/12/29 10:56:00 UTC

[jira] [Created] (GROOVY-9355) Date.format provides wrong week number value (end of year bug)

Ezer Karavani created GROOVY-9355:
-------------------------------------

             Summary: Date.format provides wrong week number value (end of year bug)
                 Key: GROOVY-9355
                 URL: https://issues.apache.org/jira/browse/GROOVY-9355
             Project: Groovy
          Issue Type: Bug
          Components: groovy-runtime
    Affects Versions: 2.5.8
            Reporter: Ezer Karavani


executing the following code (on December 29, 2019) 
{code:java}
print new Date().format('yyyy.ww') {code}
will output:
{code:java}
2019.01 {code}
where the expected value would be {{2019.52}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)