Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317211

Summary: Property buckminster.build.timestamp no longer ISO-8601
Product: z_Archived Reporter: Peter Nehrer <pnehrer>
Component: BuckminsterAssignee: Thomas Hallgren <thomas>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P4 CC: thomas
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Peter Nehrer CLA 2010-06-17 12:21:04 EDT
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);
Comment 1 Thomas Hallgren CLA 2010-06-21 14:42:16 EDT
Fix checked in to helios-maintenance branch, rev 11473
Comment 2 Peter Nehrer CLA 2010-07-21 16:07:02 EDT
Verified, thanks.