mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
projects date_format to be fetched from wn.boot.sysdefaults
This commit is contained in:
@@ -74,7 +74,7 @@ GanttChart.prototype.make_date = function(label,idx) {
|
|||||||
var w = this.make_filter(label,idx);
|
var w = this.make_filter(label,idx);
|
||||||
var i = $a(w, 'input');
|
var i = $a(w, 'input');
|
||||||
|
|
||||||
var user_fmt = wn.control_panel.date_format;
|
var user_fmt = wn.boot.sysdefaults.date_format;
|
||||||
if(!this.user_fmt)this.user_fmt = 'dd-mm-yy';
|
if(!this.user_fmt)this.user_fmt = 'dd-mm-yy';
|
||||||
|
|
||||||
$(i).datepicker({
|
$(i).datepicker({
|
||||||
|
|||||||
Reference in New Issue
Block a user