changeset 13:da95298db862

formato correcto de la fecha en datepicker
author nelo@MTEySS.neluz.int
date Sun, 13 Mar 2011 20:24:20 -0300
parents 05996fa19e04
children ed6d842abf42
files Agendas/trunk/src/Agendas.Web/Views/Agenda/New.cshtml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Agenda/New.cshtml	Sun Mar 13 19:50:17 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Views/Agenda/New.cshtml	Sun Mar 13 20:24:20 2011 -0300
@@ -14,9 +14,9 @@
 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
 
 <script type="text/javascript">
-    $(document).ready(function () {
-        $("#Fecha").datepicker();
-    });
+	$(document).ready(function () {
+		$("#Fecha").datepicker({ dateFormat: 'dd-mm-yy' });
+	});
 </script>
 
 @using (Html.BeginForm())