';
break;
diff --git a/index.php b/index.php
index ae6b5565..83212f63 100644
--- a/index.php
+++ b/index.php
@@ -382,6 +382,7 @@ function print_add_ticket()
+ '.$hesklang['date_format'].'
';
break;
@@ -610,6 +611,7 @@ function print_add_ticket()
+ '.$hesklang['date_format'].'
';
break;
diff --git a/js/modsForHesk-javascript.js b/js/modsForHesk-javascript.js
index 368c23cc..75ce8f12 100644
--- a/js/modsForHesk-javascript.js
+++ b/js/modsForHesk-javascript.js
@@ -15,7 +15,8 @@ var loadJquery = function()
todayBtn: "linked",
clearBtn: true,
autoclose: true,
- todayHighlight: true
+ todayHighlight: true,
+ format: "yyyy-mm-dd"
});
});
};
diff --git a/language/en/text.php b/language/en/text.php
index cb6e6414..c2c26c69 100644
--- a/language/en/text.php
+++ b/language/en/text.php
@@ -26,7 +26,7 @@ $hesklang['date_custom_field'] = 'Date';
$hesklang['date_custom_field_text'] = 'No options for this custom field type.';
$hesklang['multiple_select_custom_field'] = 'Multiple Select box';
$hesklang['multiple_select_custom_field_text'] = 'Options for this multi-select box, enter one option per line (each line will be a choice your customers can choose from). You need to enter at least two options!';
-$hesklang['invalid_date_format'] = 'Date must be in YYYY-MM-DD format.';
+$hesklang['date_format'] = 'Date must be in YYYY-MM-DD format.';
// ADDED OR MODIFIED IN Mods For HESK 1.6.0
$hesklang['ticket_closed'] = '[#%%TRACK_ID%%] Ticket closed/resolved';