fixed date bug in EntityComment
authorrk <rk>
Tue, 2 Apr 2002 21:27:39 +0000 (21:27 +0000)
committerrk <rk>
Tue, 2 Apr 2002 21:27:39 +0000 (21:27 +0000)
source/mir/misc/Logfile.java
source/mircoders/entity/EntityComment.java

index 2589e98..03550d7 100755 (executable)
@@ -168,7 +168,7 @@ public final class Logfile {
                if (raf != null) {
                        try {
                                raf.close();
-                       } catch (IOException e) {}
+                       } catch (IOException e) { ; }
                        raf = null;
                }
                staticFinalize(fileName);
index 97c7599..6885b1e 100755 (executable)
@@ -69,7 +69,7 @@ public class EntityComment extends Entity
       if (field.equals("date_formatted"))
       {
                  if (hasValueForField("webdb_create"))
-       returnField = StringUtil.webdbDate2readableDate(getValue("webdb_create"));
+         returnField = StringUtil.dateToReadableDate(getValue("webdb_create"));
                }
       else if (field.equals("description_parsed")) {
         /** @todo the config stuff should be moved to StringUtil */