diff Agendas/trunk/src/Agendas.Web/Views/Agenda/New.cshtml @ 13:da95298db862

formato correcto de la fecha en datepicker
author nelo@MTEySS.neluz.int
date Sun, 13 Mar 2011 20:24:20 -0300
parents c62b77fc33f4
children
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())