incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhir...@apache.org
Subject svn commit: r953140 - in /incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib: StreamMgr.scala UserMgr.scala
Date Wed, 09 Jun 2010 20:11:18 GMT
Author: rhirsch
Date: Wed Jun  9 20:11:18 2010
New Revision: 953140

URL: http://svn.apache.org/viewvc?rev=953140&view=rev
Log:
[ESME-223] Date format on users pages doesn't work

Modified:
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala?rev=953140&r1=953139&r2=953140&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/StreamMgr.scala Wed Jun
 9 20:11:18 2010
@@ -108,7 +108,7 @@ object StreamMgr {
     		  <a href={"/user/" + urlEncode(u.nickname.is)}>{u.niceName}</a>
       	}
       	
-      val dateFormatter = new SimpleDateFormat("yyyy/MM/dd hh:mm")
+      val dateFormatter = new SimpleDateFormat("yyyy/MM/dd HH:mm")
           
         
       Message.findAll(query: _*) match {

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala?rev=953140&r1=953139&r2=953140&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/UserMgr.scala Wed Jun 
9 20:11:18 2010
@@ -74,7 +74,7 @@ object UserMgr {
     <a href={"/user/" + urlEncode(u.nickname.is)}>{u.niceName}</a>
   }
   
-  private val dateFormatter = new SimpleDateFormat("yyyy/MM/dd hh:mm")
+  private val dateFormatter = new SimpleDateFormat("yyyy/MM/dd HH:mm")
   
   private def lastMessage(user: User): Tuple2[String,String] = {
     Message.findAll(By(Message.author, user), OrderBy(Message.id, Descending), MaxRows(1))
match {



Mime
View raw message