You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aldrin Leal (JIRA)" <ji...@codehaus.org> on 2009/12/31 11:49:56 UTC

[jira] Issue Comment Edited: (MNG-2202) Improve pom to handle daylight saving changes

    [ http://jira.codehaus.org/browse/MNG-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204717#action_204717 ] 

Aldrin Leal edited comment on MNG-2202 at 12/31/09 4:49 AM:
------------------------------------------------------------

Thats correct. The TimeZone class, in fact, comes updated not with the Operating System, but with the JDK itself. Updating the JDK also means updating this database.

It comes from a Time Zone Database (there are more details about it here: http://www.javaworld.com/javaworld/jw-12-2006/jw-1201-dst.html)



      was (Author: aldrinleal):
    Thats correct. The TimeZone class, in fact, comes updated not with the Operating System, but with the JDK itself. Updating the JDK also means updating this database.

It comes from a Time Zone Database (here are more details about it: http://www.javaworld.com/javaworld/jw-12-2006/jw-1201-dst.html)


  
> Improve pom to handle daylight saving changes
> ---------------------------------------------
>
>                 Key: MNG-2202
>                 URL: http://jira.codehaus.org/browse/MNG-2202
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: POM
>            Reporter: Andreas Guther
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be great if the timezone element in Maven 2 could be extendend in a way that makes it able to determine  the offset own its own as well as to be able to make adjustments to daylight savings.
> The following suggestion from the Maven Users mailing list seems to be an interesting approach.  Note: In addition to the posting from Ian Stewart I would like to add that I believe that the offset element is not needed in case the timezone has a name and the dayligh savings element.
> -----Original Message-----
> From: ian.d.stewart@jpmchase.com [mailto:ian.d.stewart@jpmchase.com] 
> Sent: Tuesday, April 04, 2006 6:36 AM
> To: Maven Users List
> Subject: Re: TimeZone Element in pom.xml
> Note that the observation of Summertime/Daylight Savings Time does not
> change the timezone where a developer resides.
> Instead of changing everybody's timezone twice a year, I would recommend
> making the timezone element its own complex type, more inline with the
> java.util.TimeZone class:
> <timezone>
>       <name>Eastern</name>
>       <offset>-5</offset>
>       <useDaylight>true</useDaylight>
> </timezone>
> It's better to be hated for who you are
> than loved for who you are not
> Ian D. Stewart
> Appl Dev Analyst-Advisory, DCS Automation
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
>                                                                                                                                            
>                       "Andreas Guther"                                                                                                     
>                       <Andreas.Guther@marke        To:       "Maven Users List" <us...@maven.apache.org>                                   
>                       ttools.com>                  cc:                                                                                     
>                                                    Subject:  TimeZone Element in pom.xml                                                   
>                       04/04/2006 12:43 AM                                                                                                  
>                       Please respond to                                                                                                    
>                       "Maven Users List"                                                                                                   
>                                                                                                                                            
> Hi,
> Is there a way in Maven to adjust the TimeZone element in the pom.xml to
> daylight savings time?
> We have an international team and I like the fact that we can see on the
> maven generated web site's team list what time it is for a specific
> developer.  What I am missing is the automatic adjustment for example for
> my time zone which is in winter times -8 and in summer times -7.  I just
> made a global search and replace in my pom.xml but actually it would be
> more convenient maven could do that for me.
> Is there anything that helps me solving the problem or is this worth an
> enhancement request?
> Andreas

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira