fixed issue 993, thanks Sherdim

This commit is contained in:
mdipierro committed 2012-09-11 09:39:13 -05:00
1 parent 2d669d1376
commit f8fab83761
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1410,7 +1410,7 @@ class SQLFORM(FORM):
type(''): ('string', None),
type(True): ('boolean', None),
type(1): ('integer', IS_INT_IN_RANGE(-1e12,+1e12)),
type(1.0): ('double', IS_INT_IN_RANGE(-1e12,+1e12)),
type(1.0): ('double', IS_FLOAT_IN_RANGE()),
type([]): ('list:string', None),
type(datetime.date.today()): ('date', IS_DATE()),
type(datetime.datetime.today()): ('datetime', IS_DATETIME())