GitHub user benignbala opened a pull request:

    https://github.com/apache/incubator-groovy/pull/124

    [GROOVY-6854] JsonOutput should be configurable with ISO 8601 UTC time zone 
instead of GMT

    Added a private static final SimpleDateFormat and a private static
    TimeZone that gets set when setTimeZone is called.
    
    writeDate uses this static final SimpelDateFormat object and sets the
    configured timezone on this object before converting the Date.
    
    Added a test case for the fix as well.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benignbala/incubator-groovy master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-groovy/pull/124.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #124
    
----
commit df586c68bdeb1b6195740815f5916d34e10d50e2
Author: Balachandran Sivakumar <balachand...@balachandran.org>
Date:   2015-09-29T19:06:05Z

    TimeZone is now configurable in JsonOutput
    
    Added a private static final SimpleDateFormat and a private static
    TimeZone that gets set when setTimeZone is called.
    
    writeDate uses this static final SimpelDateFormat object and sets the
    configured timezone on this object before converting the Date.
    
    Added a test case for the fix as well.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to