From 677a95581ac14399dff6d597ca97adc0bca6c46c Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo + João M. M. da Silva Date: Fri, 11 Jan 2013 16:28:41 -0200 Subject: [PATCH] [Mezuro] Fixed pre-selected date on calendar --- plugins/mezuro/views/mezuro_plugin_processing/_processing.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mezuro/views/mezuro_plugin_processing/_processing.rhtml b/plugins/mezuro/views/mezuro_plugin_processing/_processing.rhtml index 8c8aba0..f5cc6bd 100644 --- a/plugins/mezuro/views/mezuro_plugin_processing/_processing.rhtml +++ b/plugins/mezuro/views/mezuro_plugin_processing/_processing.rhtml @@ -28,7 +28,7 @@ reloadProcessingWithDate(dateText) } }); $("#datepicker").toggle(); var date = jQuery("#current_processing_date").attr('data-date').substr(0,10); - $("#datepicker").datepicker( "setDate" , date ); + $("#datepicker").datepicker( "setDate" , date.substr(5,2)+"/"+date.substr(8,2)+"/"+date.substr(0,4)); }); -- libgit2 0.21.2