Merge branch 'master' of github.com:webnotes/wnframework

This commit is contained in:
Nabin Hait 2013-05-29 12:31:46 +05:30
commit 0a8f61e7cf

View file

@ -549,7 +549,10 @@ def make_autoname(key, doctype=''):
en = time.strftime('%y')
elif e=='MM':
import time
en = time.strftime('%m')
en = time.strftime('%m')
elif e=='DD':
import time
en = time.strftime("%d")
elif e=='YYYY':
import time
en = time.strftime('%Y')