projects date_format to be fetched from wn.boot.sysdefaults
diff --git a/erpnext/projects/page/projects/projects.js b/erpnext/projects/page/projects/projects.js
index 3778a34..1ffbe5a 100644
--- a/erpnext/projects/page/projects/projects.js
+++ b/erpnext/projects/page/projects/projects.js
@@ -74,7 +74,7 @@
var w = this.make_filter(label,idx);
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';
$(i).datepicker({