Merge branch 'master' of github.com:webnotes/wnframework
This commit is contained in:
commit
0a8f61e7cf
1 changed files with 4 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue