From: simonbrandhof Date: Mon, 8 Nov 2010 15:51:02 +0000 (+0000) Subject: fix format of update center date X-Git-Tag: 2.6~619 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4011c6545f4c4488d8b1d647baaa8a88d98dd663;p=sonarqube.git fix format of update center date --- diff --git a/subprojects/sonar-update-center/sonar-update-center-common/src/main/java/org/sonar/updatecenter/common/UpdateCenterSerializer.java b/subprojects/sonar-update-center/sonar-update-center-common/src/main/java/org/sonar/updatecenter/common/UpdateCenterSerializer.java index 04de8171eb7..15793c4dea8 100644 --- a/subprojects/sonar-update-center/sonar-update-center-common/src/main/java/org/sonar/updatecenter/common/UpdateCenterSerializer.java +++ b/subprojects/sonar-update-center/sonar-update-center-common/src/main/java/org/sonar/updatecenter/common/UpdateCenterSerializer.java @@ -59,7 +59,7 @@ public final class UpdateCenterSerializer { public static Properties toProperties(UpdateCenter center) { Properties p = new Properties(); - set(p, "date", FormatUtils.toString(center.getDate(), false)); + set(p, "date", FormatUtils.toString(center.getDate(), true)); set(p, "sonar.versions", center.getSonar().getVersions()); for (Release sonarRelease : center.getSonar().getReleases()) { set(p, "sonar." + sonarRelease.getVersion() + ".downloadUrl", sonarRelease.getDownloadUrl());