Merge branch 'master' of github.com:webnotes/wnframework
This commit is contained in:
commit
861d5464b9
2 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ wn.datetime = {
|
|||
},
|
||||
|
||||
get_user_fmt: function() {
|
||||
var t = wn.control_panel.date_format;
|
||||
var t = sys_defaults.date_format;
|
||||
if(!t) t = 'dd-mm-yyyy';
|
||||
return t;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -524,7 +524,7 @@ function DateField() { } DateField.prototype = new Field();
|
|||
DateField.prototype.make_input = function() {
|
||||
|
||||
var me = this;
|
||||
this.user_fmt = wn.control_panel.date_format;
|
||||
this.user_fmt = sys_defaults.date_format;
|
||||
if(!this.user_fmt)this.user_fmt = 'dd-mm-yy';
|
||||
|
||||
this.input = $a(this.input_area, 'input');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue