pvollenweider 2005/06/08 15:53:28 CEST
Modified files: (Branch: JAHIA-4-1-BRANCH)
src/view/jsp/include blog_declarations.inc
Log:
Display month name with current locale
Revision Changes Path
1.1.2.13 +1 -1
corporate_portal_templates/src/view/jsp/include/blog_declarations.inc
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/include/blog_declarations.inc.diff?r1=1.1.2.12&r2=1.1.2.13&f=h
Index: blog_declarations.inc
===================================================================
RCS file:
/home/cvs/repository/corporate_portal_templates/src/view/jsp/include/blog_declarations.inc,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -r1.1.2.12 -r1.1.2.13
--- blog_declarations.inc 8 Jun 2005 12:02:57 -0000 1.1.2.12
+++ blog_declarations.inc 8 Jun 2005 13:53:28 -0000 1.1.2.13
@@ -3,7 +3,7 @@
org.apache.log4j.Logger logger,boolean displayAllSiteEntries,
JahiaData jData,HttpServletRequest request)
throws JahiaException {
- SimpleDateFormat sdf = new SimpleDateFormat( "dd/MMM/yyyy kk:mm z+2" );
+ SimpleDateFormat sdf = new SimpleDateFormat( "dd/MMM/yyyy kk:mm
z+2",jData.params().getLocale() );
sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
//Calendar cal = new GregorianCalendar(new Locale("CH_fr"));
Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("UTC"));