| Summary: | Property buckminster.build.timestamp no longer ISO-8601 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Peter Nehrer <pnehrer> |
| Component: | Buckminster | Assignee: | Thomas Hallgren <thomas> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P4 | CC: | thomas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fix checked in to helios-maintenance branch, rev 11473 Verified, thanks. |
Prior to r11456, the buckminster.build.timestamp was supposed to be in ISO-8601 format (as documented). However, now the format needs to be one of the common formats: public static final String[] commonFormats = new String[] { "yyyy-MM-dd_HH-mm-ss", "yyyyMMddHHmm", "yyyyMMdd-HHmm", "yyyyMMdd" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ Note the difference is in one line -- the new code calls timestamp = DateAndTimeUtils.fromString((String) isoTS); while the old code called timestamp = DateAndTimeUtils.fromISOFormat((String) isoTS);