[ 
http://jira.codehaus.org/browse/MPIR-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MPIR-171:
-------------------------------

    Description: 
The POM XSD defiens the TimeZone as an xs:string (although the descriptions 
says an integer between -11 and 12)

If the desctription is enforced you can not be in a timezone that is not a 
multiple of 1 hour away from UTC (e.g. certain parts of india)

So the description is wrong and it's just a String.  
So why not support a full formatted timezone such as Europe/London, then the 
mpir can use funky javascript to show your actual time including any daylight 
saving offset. (as opposed to a fixed offset from GMT ignoring DST changes)

e.g. support
{code:xml}<developers>
  <developer>
    <id>bob</id>
    <name>Bob Hacker</name>
    <email>[email protected]</email>
    <timezone>Europe/London</timezone>
    <roles>
      <role>developer</role>
    </roles>
  </developer>
</developers>{code}

Currently the site shows NaN for the Current time.

  was:
The POM XSD defiens the TimeZone as an xs:string (although the descriptions 
says an integer between -11 and 12)

If the desctription is enforced you can not be in a timezone that is not a 
multiple of 1 hour away from UTC (e.g. certain parts of india)

So the description is wrong and it's just a String.  
So why not support a full formatted timezone such as Europe/London, then the 
mpir can use funky javascript to show your actual time including any daylight 
saving offset. (as opposed to a fixed offset from GMT ignoring DST changes)

e.g. support
        <developers>
                <developer>
                        <id>bob</id>
                        <name>Bob Hacker</name>
                        <email>[email protected]</email>
                        <timezone>Europe/London</timezone>
                        <roles>
                                <role>developer</role>
                        </roles>
                </developer>
        </developers>

Currently the site shows NaN for the Current time.


> support "TimeZones" as a timezone
> ---------------------------------
>
>                 Key: MPIR-171
>                 URL: http://jira.codehaus.org/browse/MPIR-171
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1.2
>            Reporter: James Nord
>            Priority: Trivial
>
> The POM XSD defiens the TimeZone as an xs:string (although the descriptions 
> says an integer between -11 and 12)
> If the desctription is enforced you can not be in a timezone that is not a 
> multiple of 1 hour away from UTC (e.g. certain parts of india)
> So the description is wrong and it's just a String.  
> So why not support a full formatted timezone such as Europe/London, then the 
> mpir can use funky javascript to show your actual time including any daylight 
> saving offset. (as opposed to a fixed offset from GMT ignoring DST changes)
> e.g. support
> {code:xml}<developers>
>   <developer>
>     <id>bob</id>
>     <name>Bob Hacker</name>
>     <email>[email protected]</email>
>     <timezone>Europe/London</timezone>
>     <roles>
>       <role>developer</role>
>     </roles>
>   </developer>
> </developers>{code}
> Currently the site shows NaN for the Current time.

-- 
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

        

Reply via email to