Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-07-08 16:43:40 +0400
committerMichal Čihař <mcihar@suse.cz>2013-07-08 16:44:16 +0400
commitacb997206ea4bfbc4e8a4c2649fdebe2c1098751 (patch)
tree5edd6f520c931217f47d2ee28c46ea3e66c6c716 /js/server_status_monitor.js
parent625bc13c141a7167f37f0608a51f925f967d29b3 (diff)
Add wrapper function for formatting datetime
This makes it easier to use and correctly converts params which formatTime expects.
Diffstat (limited to 'js/server_status_monitor.js')
-rw-r--r--js/server_status_monitor.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js
index ed3574aee1..c093fea83a 100644
--- a/js/server_status_monitor.js
+++ b/js/server_status_monitor.js
@@ -1424,13 +1424,9 @@ AJAX.registerOnload('server_status_monitor.js', function () {
function PMA_getLogAnalyseDialog(min, max) {
$('#logAnalyseDialog input[name="dateStart"]')
- .val(
- $.datepicker.formatDate('yy-mm-dd', min) + ' ' + $.datepicker.formatTime('HH:mm:ss', min)
- );
+ .val(PMA_formatDateTime(min, true));
$('#logAnalyseDialog input[name="dateEnd"]')
- .val(
- $.datepicker.formatDate('yy-mm-dd', max) + ' ' + $.datepicker.formatTime('HH:mm:ss', max)
- );
+ .val(PMA_formatDateTime(max, true));
var dlgBtns = { };