Fix the styling and modify the help text to calendar field to use the conventional format.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 01:33:41 +0530
changeset 478 863dba311ba2
parent 477 a7ac6cbaca25
child 479 fdaf0d8ceb53
Fix the styling and modify the help text to calendar field to use the conventional format.
pytask/profile/forms.py
--- a/pytask/profile/forms.py	Thu Jan 20 01:32:49 2011 +0530
+++ b/pytask/profile/forms.py	Thu Jan 20 01:33:41 2011 +0530
@@ -25,9 +25,9 @@
                               field of interests etc.,"
                              )
 
-    
-    dob = forms.DateField(help_text = "YYYY-MM-DD", required=True,
-                          label=u'Date of birth')
+
+    dob = forms.DateField(help_text = "yyyy-mm-dd", required=True,
+                          label=u'Date of Birth')
 
     gender = forms.ChoiceField(choices = GENDER_CHOICES,
                                required=True, label=u'Gender')