db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r613948 - /db/derby/code/branches/10.3/java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java
Date Mon, 21 Jan 2008 17:34:08 GMT
Author: dag
Date: Mon Jan 21 09:34:07 2008
New Revision: 613948

URL: http://svn.apache.org/viewvc?rev=613948&view=rev
Log:
DERBY-3194 LOCALIZEDDISPLAY of CURRENT_TIMESTAMP returns only the TIME

Merged DERBY-3194.diff from trunk as 

svn merge -r596388:596389 https://svn.apache.org/repos/asf/db/derby/code/trunk

Tested manually in ij.

Modified:
    db/derby/code/branches/10.3/java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java

Modified: db/derby/code/branches/10.3/java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java?rev=613948&r1=613947&r2=613948&view=diff
==============================================================================
--- db/derby/code/branches/10.3/java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java
(original)
+++ db/derby/code/branches/10.3/java/tools/org/apache/derby/iapi/tools/i18n/LocalizedResource.java
Mon Jan 21 09:34:07 2008
@@ -400,8 +400,9 @@
 		if (!enableLocalized){
 			return t.toString();
 		}
-		return formatTime.format(t,	new StringBuffer(),
-									new java.text.FieldPosition(0)).toString();
+		return formatTimestamp.format
+			(t, new StringBuffer(),
+			 new java.text.FieldPosition(0)).toString();
 	}
 	public int getColumnDisplaySize(ResultSetMetaData rsm,
 										int columnNumber) throws SQLException{



Mime
View raw message