[jira] Commented: (MPIR-171) support "TimeZones" as a timezone

2010-09-06 Thread Anthony Whitford (JIRA)

[ 
http://jira.codehaus.org/browse/MPIR-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234307#action_234307
 ] 

Anthony Whitford commented on MPIR-171:
---

I second the idea of using 
[TimeZone|http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html] 
values instead of an integer offset.  The offset idea is flawed because it does 
not account for daylight savings.  For example, consider the TimeZone 
"{{America/Los_Angeles}}":  Los Angeles is in the Pacific Time Zone, which is 
GMT-8 during Standard Time and GMT-7 during Daylight Saving Time.  Some time 
zones will not adjust for daylight savings.  Finally, countries will change 
their time zone rules, specifically adjusting when they start and end daylight 
savings.

> 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}
>   
> bob
> Bob Hacker
> b...@example.com
> Europe/London
> 
>   developer
> 
>   
> {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




[jira] Commented: (MPIR-171) support "TimeZones" as a timezone

2009-11-24 Thread Jerome Lacoste (JIRA)

[ 
http://jira.codehaus.org/browse/MPIR-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199189#action_199189
 ] 

Jerome Lacoste commented on MPIR-171:
-

Looks like the new page doesn't work on my Firefox 3.5, but works in opera 
10.01 and chromium 4.0.252.0.
No error in the javascript console it seems...


> 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
> 
> 
> bob
> Bob Hacker
> b...@example.com
> Europe/London
> 
> developer
> 
> 
> 
> 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




[jira] Commented: (MPIR-171) support "TimeZones" as a timezone

2009-11-23 Thread Jerome Lacoste (JIRA)

[ 
http://jira.codehaus.org/browse/MPIR-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199162#action_199162
 ] 

Jerome Lacoste commented on MPIR-171:
-

I've implemented a HTML version of the team-list that uses 
http://js.fleegix.org/plugins/date/date
to support "String" timezones.

See http://coffeebreaks.org/tmp/mvn-mpir-171/team-list2.html for demo

the diff to the generated files is

--- team-list2.html 2009-11-24 01:07:46.0 +0100
+++ team-list.html  2009-11-23 23:38:37.0 +0100
@@ -521,29 +521,18 @@
 
 
 
-
-