[jira] Created: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Nicolas Malin (Jira)
Improved UtilDateTime.java, Framework Default TimeZone Support
--------------------------------------------------------------

                 Key: OFBIZ-1377
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1377
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
            Reporter: Adrian Crum
            Priority: Minor


Based upon recent discussions on the dev mailing list, added a method to get a TimeZone object from an integer hour offset from GMT. Also added a configurable default time zone to the framework.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum updated OFBIZ-1377:
-------------------------------

    Attachment: UtilDateTime.patch

Attached patch implements the improvements.

> Improved UtilDateTime.java, Framework Default TimeZone Support
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1377
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: UtilDateTime.patch
>
>
> Based upon recent discussions on the dev mailing list, added a method to get a TimeZone object from an integer hour offset from GMT. Also added a configurable default time zone to the framework.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539442 ]

Adrian Crum commented on OFBIZ-1377:
------------------------------------

Someone wanting to set Freemarker's date/time rendering according to the user's browser settings could use the new UtilDateTime.toTimeZone(int gmtOffset) with UtilHttp.setTimeZone(HttpSession session, TimeZone timeZone) .


> Improved UtilDateTime.java, Framework Default TimeZone Support
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1377
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: UtilDateTime.patch
>
>
> Based upon recent discussions on the dev mailing list, added a method to get a TimeZone object from an integer hour offset from GMT. Also added a configurable default time zone to the framework.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum updated OFBIZ-1377:
-------------------------------

    Attachment: UtilDateTime.patch

Improved patch. Added getMonthNames(Locale locale) method.

> Improved UtilDateTime.java, Framework Default TimeZone Support
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1377
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: UtilDateTime.patch, UtilDateTime.patch
>
>
> Based upon recent discussions on the dev mailing list, added a method to get a TimeZone object from an integer hour offset from GMT. Also added a configurable default time zone to the framework.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1377:
--------------------------------------

    Assignee: Jacques Le Roux

> Improved UtilDateTime.java, Framework Default TimeZone Support
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1377
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: UtilDateTime.patch, UtilDateTime.patch
>
>
> Based upon recent discussions on the dev mailing list, added a method to get a TimeZone object from an integer hour offset from GMT. Also added a configurable default time zone to the framework.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1377) Improved UtilDateTime.java, Framework Default TimeZone Support

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1377.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks Adrian,

You patch is in revision: 594088  


> Improved UtilDateTime.java, Framework Default TimeZone Support
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1377
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: UtilDateTime.patch, UtilDateTime.patch
>
>
> Based upon recent discussions on the dev mailing list, added a method to get a TimeZone object from an integer hour offset from GMT. Also added a configurable default time zone to the framework.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.