diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-04-02 10:34:48 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-04-02 10:34:48 +0200 |
commit | 978215b0d53a2ec0c1fc0421494a7a978150f46b (patch) | |
tree | 1e10a6cda7fea0a13707ee7a4292ffdc6c31ccdb /sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java | |
parent | fbce536131d6c8c8f2e8eff08d987f12651454ea (diff) | |
download | sonarqube-978215b0d53a2ec0c1fc0421494a7a978150f46b.tar.gz sonarqube-978215b0d53a2ec0c1fc0421494a7a978150f46b.zip |
SONAR-4103 The dates displayed in the dropdown list allowing to select a differential period are not localized
Diffstat (limited to 'sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java b/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java index e9cb892d067..cf13e8f8563 100644 --- a/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java +++ b/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java @@ -547,6 +547,10 @@ public final class JRubyFacade { return get(Periods.class).label(mode, param, date); } + public String getPeriodLabel(String mode, String param, String date) { + return get(Periods.class).label(mode, param, date); + } + public String getPeriodAbbreviation(int periodIndex) { return get(Periods.class).abbreviation(periodIndex); } |