projects
/
WP-Themes
/
bpla.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea33c7
)
changing date formats to comply with RFC html date format requirements
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 2 Nov 2015 17:46:57 +0000
(12:46 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 2 Nov 2015 17:46:57 +0000
(12:46 -0500)
parts/off-canvas-menu.php
patch
|
blob
|
history
diff --git
a/parts/off-canvas-menu.php
b/parts/off-canvas-menu.php
index
803fd70
..
5eef5d7
100644
(file)
--- a/
parts/off-canvas-menu.php
+++ b/
parts/off-canvas-menu.php
@@
-16,8
+16,8
@@
<span>Book Now</span>
</div>
</div>
- <?php $requiredDate = date('
Y-m-d
', strtotime("+2 days")); ?>
- <?php $minStay = date('
Y-m-d
', strtotime($requiredDate. "+2 days" )); ?>
+ <?php $requiredDate = date('
d-m-Y
', strtotime("+2 days")); ?>
+ <?php $minStay = date('
d-m-Y
', strtotime($requiredDate. "+2 days" )); ?>
<form method="post" action="<?php echo get_permalink(150); ?>">
<div class="row">
<div class="small-12 res-search columns">