2004/01/13 10:27:47
[org.ibex.core.git] / src / org / xwt / js / JSDate.java
index ca9c5b7..fc3fcd0 100644 (file)
@@ -59,7 +59,7 @@ public class JSDate extends JS {
         }
     }
 
-    public String coerceToString() { return date_format(date, FORMATSPEC_FULL); }
+    public String toString() { return date_format(date, FORMATSPEC_FULL); }
 
     public Object callMethod(Object method, Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
         switch(nargs) {