diff Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml @ 202:a731086c0b28

Se soluciona ticket 174. Además se agrega detalle del campo Hora y Duración cuando son obligatorios en Resources.
author alabra
date Sat, 20 Aug 2011 18:40:36 -0400
parents ea85bd893247
children
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml	Sat Aug 20 17:47:21 2011 -0400
+++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml	Sat Aug 20 18:40:36 2011 -0400
@@ -1,7 +1,7 @@
 @model DateTime?
 <script type="text/javascript">
     $(document).ready(function () {
-        $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd-mm-yy' });
+        $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd/mm/yy' });
     });
 </script>
 @Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })