Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 261104 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/equinox/internal/p2/updatesite/SiteXMLAction.java (-1 / +4 lines)
Lines 347-353 Link Here
347
		int minuteNbr = Calendar.getInstance().get(Calendar.MINUTE);
347
		int minuteNbr = Calendar.getInstance().get(Calendar.MINUTE);
348
		String minute = (minuteNbr < 10 ? "0" : empty) + minuteNbr; //$NON-NLS-1$
348
		String minute = (minuteNbr < 10 ? "0" : empty) + minuteNbr; //$NON-NLS-1$
349
349
350
		return empty + Calendar.getInstance().get(Calendar.YEAR) + month + day + hour + minute;
350
		int secondNbr = Calendar.getInstance().get(Calendar.SECOND);
351
		String second = (secondNbr < 10 ? "0" : empty) + secondNbr; //$NON-NLS-1$
352
353
		return empty + Calendar.getInstance().get(Calendar.YEAR) + month + day + hour + minute + second;
351
	}
354
	}
352
355
353
}
356
}

Return to bug 261104