Support » Plugin: Post Meta Controls » date range allowing start=end

  • Resolved cjyabraham

    (@cjyabraham)


    When I try and set the end date to be the same day as the start date, the date range field doesn’t save the information. Is it possible to allow this? I am storing event dates. Some events span many days while others are just one day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alvaro

    (@melonpan)

    Hi,

    I just added a feature that would allow this. minimum_days lets the range specify the number of minimum days. Default is 1, so to achieve your request you would simply need to pass 0.

    The code is already available on GitHub repository develop branch, but I will make a release as soon as I can next week.

    Álvaro.

    cjyabraham

    (@cjyabraham)

    Great. Thanks for the quick response.

    Plugin Author Alvaro

    (@melonpan)

    No problem! I uploaded a new version 1.3.0 which includes this feature.

    Simply pass 'minimum_days' => 0, to the properties of the date_range control. I’ll update the documentation too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘date range allowing start=end’ is closed to new replies.