Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317211 - Property buckminster.build.timestamp no longer ISO-8601
Summary: Property buckminster.build.timestamp no longer ISO-8601
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Thomas Hallgren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 12:21 EDT by Peter Nehrer CLA
Modified: 2019-02-25 14:40 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.