make date_formatted be webdb_create_short instead to be more consistent. also make...
authormh <mh>
Fri, 28 Jun 2002 20:37:33 +0000 (20:37 +0000)
committermh <mh>
Fri, 28 Jun 2002 20:37:33 +0000 (20:37 +0000)
source/mircoders/entity/EntityContent.java

index 2033fb6..01a9d1f 100755 (executable)
@@ -19,8 +19,14 @@ import mircoders.storage.*;
  * this class implements mapping of one line of the database table content
  * to a java object
  *
- * @author RK
- * @version 2001
+ * @version $Revision: 1.8 $ $Date: 2002/06/28 20:37:33 $
+ * @author $Author: mh $
+ *
+ * $Log: EntityContent.java,v $
+ * Revision 1.8  2002/06/28 20:37:33  mh
+ * make date_formatted be webdb_create_short instead to be more consistent. also make date2webdb.. use webdb_create
+ *
+ * 
  */
 
 
@@ -145,10 +151,10 @@ public class EntityContent extends Entity
     String returnField = null;
     if (field!=null)
     {
-      if (field.equals("date_formatted"))
+      if (field.equals("date_formatted") || field.equals("webdb_create_short") )
       {
                  if (hasValueForField("date"))
-       returnField = StringUtil.webdbDate2readableDate(getValue("date"));
+       returnField = StringUtil.webdbDate2readableDate(getValue("webdb_create"));
                }
       else if (field.equals("description_parsed"))
         returnField = getDescriptionParsed();