Merge pull request #23262 from cogk/fix-webform-controls

This commit is contained in:
Shariq Ansari 2023-11-18 19:49:48 +05:30 committed by GitHub
commit 41a7d8b135
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
import "./controls.bundle.js";
import "./dialog.bundle.js";
import "./lib/moment.js";
import "./frappe/ui/keyboard.js";
import "./frappe/utils/datetime.js";
import "./frappe/web_form/webform_script.js";
import "./bootstrap-4-web.bundle.js";

View file

@ -171,6 +171,8 @@ def get_boot_data():
"float_precision": cint(frappe.get_system_settings("float_precision")) or 3,
"date_format": frappe.get_system_settings("date_format") or "yyyy-mm-dd",
"time_format": frappe.get_system_settings("time_format") or "HH:mm:ss",
"first_day_of_the_week": frappe.get_system_settings("first_day_of_the_week") or "Sunday",
"number_format": frappe.get_system_settings("number_format") or "#,###.##",
},
"time_zone": {
"system": get_system_timezone(),