Skip to content

Commit

Permalink
Update Products/CMFPlone/skins/plone_templates/calendar_macros.pt
Browse files Browse the repository at this point in the history
date_components_support_view.result() methode can receive a minute_step parameter so take it into account if received by the macro.  I made a recent change in Archetypes (plone/Products.Archetypes#13) that make the minute_step configurable.  It need adaptation in AT and Plone...

Please merge ;-)

Gauthier
  • Loading branch information
gbastien committed Oct 31, 2012
1 parent f47218c commit 5044d91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Products/CMFPlone/skins/plone_templates/calendar_macros.pt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
ending_year ending_year | nothing;
future_years future_years | nothing;
show_single_year show_single_year | python: 1;
minute_step minute_step | python: 5;
show_jscal show_jscal | python: 1;
input_id string:${formname}_${inputname}_${inputIndex};
date_components_support_view context/@@date_components_support;
values python:date_components_support_view.result(inputvalue, 0, starting_year, ending_year, future_years);
values python:date_components_support_view.result(inputvalue, 0, starting_year, ending_year, future_years, minute_step);
years values/years;
months values/months;
days values/days;
Expand Down

0 comments on commit 5044d91

Please sign in to comment.