Title: Minimum time when selecting date only
Last modified: January 7, 2020

---

# Minimum time when selecting date only

 *  Resolved [Marcel Lein](https://wordpress.org/support/users/marcellein/)
 * (@marcellein)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/minimum-time-when-selecting-date-only/)
 * Hey Carlos,
 * I love this plugin! I have one issue though, which I didn’t find a solution to.
 * When people select a day (e.g. today, tomorrow, etc.) in the calendar and don’t
   select a time, the time in the input field is shown as the time that is now(eg.
   2:12pm).
    This isn’t too good, because the restaurant team needs some time to
   prepare and to accept the “reservation”.
 * Is it possible that the user can only send the form when date and time are manually
   picked with your “date and time picker” or that the time is rounded up? (eg. ‘
   now’+’roundup’ to half hour + half hour = 2:12pm-> 2:30pm -> 3:00pm)
 * Because otherwise it would make the 30min step option useless.
 * Sincerely Marcel
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fminimum-time-when-selecting-date-only%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * (@carlosmoreirapt)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/minimum-time-when-selecting-date-only/#post-12301767)
 * Hi [@marcellein](https://wordpress.org/support/users/marcellein/) thank you for
   reporting this.
    When you select the option to not keep the placeholder, the 
   plugin calculates the next proper time and sets it by default. When the placeholder
   is enabled, the input doesn’t start with a value and therefore defaults to the
   current time. I’ll investigate and try to improve this for the next version. 
   In the meantime, the solution would be to disable the placeholder. Greetings,
   Carlos
 *  Thread Starter [Marcel Lein](https://wordpress.org/support/users/marcellein/)
 * (@marcellein)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/minimum-time-when-selecting-date-only/#post-12303176)
 * Ah, the only option, which I didn’t disable during testing. Okay! I’ll try to
   disable the placeholder for now. Thank you for your kind message. Keep up the
   nice work.
 * Greetings Marcel 🙂
 *  [davydov-denis](https://wordpress.org/support/users/davydov-denis/)
 * (@davydov-denis)
 * [6 years ago](https://wordpress.org/support/topic/minimum-time-when-selecting-date-only/#post-12848827)
 * I just came across exactly the same problem. Would be good to be able to keep
   the placeholder but still don’t fallback to the current time, which completely
   ignores min/max time settings as well as time step.
 * Alternatively, one could help/force users to actually choose the time and do 
   not update the field if user does not do that.
 * Sincerely,
    Denis.
 *  [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * (@carlosmoreirapt)
 * [6 years ago](https://wordpress.org/support/topic/minimum-time-when-selecting-date-only/#post-12848866)
 * Hi [@davydov-denis](https://wordpress.org/support/users/davydov-denis/)
    You 
   can try the github version which is ahead of the current one here, where I’ve
   already made improvements to this behaviour: [https://github.com/carmoreira/date-time-picker-field](https://github.com/carmoreira/date-time-picker-field)
 * Check if it works better for you.
    Cheers, Carlos

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Minimum time when selecting date only’ is closed to new replies.

 * ![](https://ps.w.org/date-time-picker-field/assets/icon.svg?rev=2964043)
 * [Availability Datepicker – Booking Calendar for Contact Form 7 – Input WP](https://wordpress.org/plugins/date-time-picker-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/date-time-picker-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/date-time-picker-field/)
 * [Active Topics](https://wordpress.org/support/plugin/date-time-picker-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/date-time-picker-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/date-time-picker-field/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/minimum-time-when-selecting-date-only/#post-12848866)
 * Status: resolved