Michael Hall has proposed merging lp:~mhall119/loco-directory/fixes-610495 into
lp:loco-directory.
Requested reviews:
loco-directory-dev (loco-directory-dev)
Related bugs:
#610495 For global events, the new event date picker should be constrained
within the date region
https://bugs.launchpad.net/bugs/610495
Fix off-by-one error on month when restricting team events to the global
event's dates
--
https://code.launchpad.net/~mhall119/loco-directory/fixes-610495/+merge/31744
Your team loco-directory-dev is requested to review the proposed merge of
lp:~mhall119/loco-directory/fixes-610495 into lp:loco-directory.
=== modified file 'loco_directory/templates/events/team_event_new.html'
--- loco_directory/templates/events/team_event_new.html 2010-07-29 02:09:20 +0000
+++ loco_directory/templates/events/team_event_new.html 2010-08-04 12:19:42 +0000
@@ -8,8 +8,8 @@
{% if global_event %}
<script>
$.datepicker.setDefaults({
- minDate: new Date({{global_event.date_begin.year}}, {{global_event.date_begin.month}}, {{global_event.date_begin.day}} ),
- maxDate: new Date({{global_event.date_end.year}}, {{global_event.date_end.month}}, {{global_event.date_end.day}} )
+ minDate: new Date({{global_event.date_begin.year}}, {{global_event.date_begin.month}}-1, {{global_event.date_begin.day}} ),
+ maxDate: new Date({{global_event.date_end.year}}, {{global_event.date_end.month}}-1, {{global_event.date_end.day}} )
});
</script>
{% endif %}
_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help : https://help.launchpad.net/ListHelp