def export_month(form, action):
    """Form handler function exporting the current month."""
    calendar = form.getContent().context
    form.request.response.redirect(form.url(calendar, 'export-month'))
