You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/07/03 10:10:42 UTC

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

     [ https://jira.codehaus.org/browse/MNG-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MNG-2202.
------------------------------

    Resolution: Fixed

fixed in MPIR-171: you can now write a formatted timezone (like Europe/Paris) instead of an offset

> Improve pom to handle daylight saving changes
> ---------------------------------------------
>
>                 Key: MNG-2202
>                 URL: https://jira.codehaus.org/browse/MNG-2202
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: POM
>            Reporter: Andreas Guther
>            Priority: Minor
>             Fix For: 3.x / Backlog
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira