every entity now has a webdb_create_dc value
authorjohn <john>
Sun, 14 Apr 2002 22:57:02 +0000 (22:57 +0000)
committerjohn <john>
Sun, 14 Apr 2002 22:57:02 +0000 (22:57 +0000)
(dc=dublin core).  should be useful for many types of syndication

source/mir/entity/Entity.java

index a678d63..a30bade 100755 (executable)
@@ -126,6 +126,11 @@ public class Entity implements TemplateHashModel, TemplateModelRoot
         if (hasValueForField("webdblast_change"))
           returnValue=StringUtil.dateToReadableDate(getValue("webdb_lastchange"));
       }
+      else if (field.equals("webdb_create_dc"))
+      {
+        if (hasValueForField("webdb_create"))
+          returnValue=StringUtil.webdbdateToDCDate(getValue("webdb_create"));
+      }
       else
         returnValue = (String)theValuesHash.get(field);
     }