aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-11-08 15:51:02 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-11-08 15:51:02 +0000
commit4011c6545f4c4488d8b1d647baaa8a88d98dd663 (patch)
tree5f16f7a2deca811574bca7d57999ad21b453728a
parent5b8fdc0fefa57b102971e073208955003c0e6f3c (diff)
downloadsonarqube-4011c6545f4c4488d8b1d647baaa8a88d98dd663.tar.gz
sonarqube-4011c6545f4c4488d8b1d647baaa8a88d98dd663.zip
fix format of update center date
-rw-r--r--subprojects/sonar-update-center/sonar-update-center-common/src/main/java/org/sonar/updatecenter/common/UpdateCenterSerializer.java2
1 files changed, 1 insertions, 1 deletions
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());