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 13:26:06 +0400
committerMichal Čihař <mcihar@suse.cz>2013-07-08 13:26:29 +0400
commitf96ed7c363a3133b64fe974adfd727124e792a3c (patch)
treea11d51aea464c73dc2e294e2788b5b617d76970e /js/server_status_monitor.js
parentc9ad6292a1937b8a91b8f4650d0749dbbf60a790 (diff)
Use jQuery UI for formatting date strings
Diffstat (limited to 'js/server_status_monitor.js')
-rw-r--r--js/server_status_monitor.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js
index eacac37c6f..ed3574aee1 100644
--- a/js/server_status_monitor.js
+++ b/js/server_status_monitor.js
@@ -1424,9 +1424,13 @@ AJAX.registerOnload('server_status_monitor.js', function () {
function PMA_getLogAnalyseDialog(min, max) {
$('#logAnalyseDialog input[name="dateStart"]')
- .val(formatDate(min, 'yyyy-MM-dd HH:mm:ss'));
+ .val(
+ $.datepicker.formatDate('yy-mm-dd', min) + ' ' + $.datepicker.formatTime('HH:mm:ss', min)
+ );
$('#logAnalyseDialog input[name="dateEnd"]')
- .val(formatDate(max, 'yyyy-MM-dd HH:mm:ss'));
+ .val(
+ $.datepicker.formatDate('yy-mm-dd', max) + ' ' + $.datepicker.formatTime('HH:mm:ss', max)
+ );
var dlgBtns = { };