You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/11/11 21:11:19 UTC

[9/9] git commit: Generate lists of days and months with commas (not comma and space)

Generate lists of days and months with commas (not comma and space)


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/5df05c6d
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/5df05c6d
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/5df05c6d

Branch: refs/heads/5.4-js-rewrite
Commit: 5df05c6de27b316b59789f8a45754e40a8dfeeac
Parents: b4a8eb7
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Sun Nov 11 08:07:24 2012 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Sun Nov 11 08:07:24 2012 -0800

----------------------------------------------------------------------
 .../ClientLocalizationMessageResource.java         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/5df05c6d/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/messages/ClientLocalizationMessageResource.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/messages/ClientLocalizationMessageResource.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/messages/ClientLocalizationMessageResource.java
index 7f8c34b..c44a7be 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/messages/ClientLocalizationMessageResource.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/messages/ClientLocalizationMessageResource.java
@@ -92,12 +92,12 @@ public class ClientLocalizationMessageResource extends VirtualResource
         List<String> months = Arrays.asList(dateSymbols.getMonths()).subList(0, 12);
 
         // Comma-separated list, starting with January
-        symbols.put("date-symbols.months", InternalUtils.join(months));
+        symbols.put("date-symbols.months", InternalUtils.join(months, ","));
 
         List<String> days = Arrays.asList(dateSymbols.getWeekdays()).subList(1, 8);
 
         // Comma-separated list, starting with Sunday
-        symbols.put("date-symbols.days", InternalUtils.join(days));
+        symbols.put("date-symbols.days", InternalUtils.join(days, ","));
 
         Calendar c = Calendar.getInstance(locale);