goa/__init__.py
changeset 447 0e52d72104a6
parent 0 b97547f5f1fa
child 1131 544609e83317
--- a/goa/__init__.py	Mon Jan 19 19:57:41 2009 +0100
+++ b/goa/__init__.py	Tue Jan 20 16:29:06 2009 +0100
@@ -28,7 +28,7 @@
     regular python datetime object
     """
     if yamstype is None:
-        yamstype = guess_yamstype_from_date(datetimeobj)
+        yamstype = guess_yamstype_for_date(datetimeobj)
     assert yamstype is not None
     if yamstype == 'Datetime':
         # don't use date, db model doesn't actually support it, only datetime