Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Property buckminster.build.timestamp no longer ISO-8601?
Property buckminster.build.timestamp no longer ISO-8601? [message #540851] Thu, 17 June 2010 13:27 Go to next message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 241
Registered: July 2009
Senior Member
Hi,

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$

Is this intentional, or accidental and will it at some point be reverted
to ISO-8601 (or will ISO-8601 be added to those "common formats")? 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);

Thanks.

--Peter
Re: Property buckminster.build.timestamp no longer ISO-8601? [message #540868 is a reply to message #540851] Thu, 17 June 2010 13:47 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Peter,

That's a regression. The ISO-8601 format should still be one of the supported formats. Can you please enter a bugzilla
for this?

Thanks,
- thomas

On 06/17/2010 03:27 PM, Peter Nehrer wrote:
> Hi,
>
> 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$
>
> Is this intentional, or accidental and will it at some point be reverted
> to ISO-8601 (or will ISO-8601 be added to those "common formats")? 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);
>
> Thanks.
>
> --Peter
Re: Property buckminster.build.timestamp no longer ISO-8601? [message #540942 is a reply to message #540868] Thu, 17 June 2010 16:21 Go to previous message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 241
Registered: July 2009
Senior Member
Ok :-)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317211
Previous Topic:create.product failing on target platform dependency
Next Topic: ERROR [0000] : Resolution attempt ended with exception: Unauthorized
Goto Forum:
  


Current Time: Thu Sep 26 13:34:33 GMT 2024

Powered by FUDForum. Page generated in 0.03978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top