Changed html date min date logic
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 10 Nov 2015 15:08:03 +0000 (10:08 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 10 Nov 2015 15:08:03 +0000 (10:08 -0500)
parts/reservation-form-off-canvas.php

index 5caeca5..38e1fba 100644 (file)
@@ -9,7 +9,7 @@
                                 </select>
             </div>
              <?php $today = date('Y-m-d'); ?>
-             <?php $minStay = date('Y-m-d', strtotime($today. "+1 days" )); ?>
+             <?php $minStay = date('Y-m-d', strtotime($today. "+1 day" )); ?>
             <div class="small-12 res-date columns">
                 <input id="arriveOff" type="date" placeholder="Arrive" min="<?php echo $today ?>" name="datepicker1" required="required"><img id="arriveCalOff" src="<?php echo get_template_directory_uri(); ?>/assets/calendar-icon.jpg">
             </div>