| Summary: | Tycho Build generates a build timestamp four hours in the future | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Releng | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | adrian.aichner |
| Version: | 6.0 | ||
| Target Milestone: | 6.0 M1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
Could that be an issue of UTC vs. EDT? A time without a timezone name or offset or a Z or UTC marker is meaningless anyway in a global context. Tycho uses UTC timezone to calculate the build qualifier. This was a change made in Bug 352838. I checked the source: http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java has hard coded: format.setTimeZone(TimeZone.getTimeZone("UTC")); on line 136. So out of the box the our build timestamps are UTC. Why not use ISO8601 format, e.g. 20140328Z1714, which leaves no room for ambiguity about the time interpretation. Just a thought. |