From 670b45e98b08f279d6b6c2f07b161fd2ecd6e41b Mon Sep 17 00:00:00 2001 From: john Date: Sun, 14 Apr 2002 22:57:02 +0000 Subject: [PATCH] every entity now has a webdb_create_dc value (dc=dublin core). should be useful for many types of syndication --- source/mir/entity/Entity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/mir/entity/Entity.java b/source/mir/entity/Entity.java index a678d63c..a30bade9 100755 --- a/source/mir/entity/Entity.java +++ b/source/mir/entity/Entity.java @@ -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); } -- 2.11.0