Scarab commit: svn commit: r10204 - branches/release/b21/src/java/org/tigris/scarab/om/Activity.java

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2006-07-10 03:16:58-0700
New Revision: 10204

Modified:
   branches/release/b21/src/java/org/tigris/scarab/om/Activity.java

Log:
fix for SCB1744 (thanks to Philippe Daigremont)

Modified: branches/release/b21/src/java/org/tigris/scarab/om/Activity.java
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/b21/src/java/org/tigris/scarab/om/Activity.java?view=diff&rev=10204&p1=branches/release/b21/src/java/org/tigris/scarab/om/Activity.java&p2=branches/release/b21/src/java/org/tigris/scarab/om/Activity.java&r1=10203&r2=10204
==============================================================================
--- branches/release/b21/src/java/org/tigris/scarab/om/Activity.java	(original)
+++ branches/release/b21/src/java/org/tigris/scarab/om/Activity.java	2006-07-10 03:16:58-0700
@@ -493,9 +493,9 @@
             if (this.getAttribute().isDateAttribute())
             {
                 if (null != newValue)
-                    newValue = DateAttribute.dateFormat(newValue, L10NKeySet.ShortDateDisplay.getMessage(l10nTool));
+                    newValue = DateAttribute.dateFormat(newValue, L10NKeySet.ShortDatePattern.getMessage(l10nTool));
                 if (null != oldValue)
-                    oldValue = DateAttribute.dateFormat(oldValue, L10NKeySet.ShortDateDisplay.getMessage(l10nTool));
+                    oldValue = DateAttribute.dateFormat(oldValue, L10NKeySet.ShortDatePattern.getMessage(l10nTool));
             }
         }
         catch (Exception e)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.