update for hours
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Nov 2015 16:49:18 +0000 (11:49 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Nov 2015 16:49:18 +0000 (11:49 -0500)
parts/slide-show.php

index b539918..6c150d3 100644 (file)
@@ -9,9 +9,9 @@
     </div>
     <div style="text-align: center">
     <?php $today = mktime(); ?>
-    <?php if( date('Y', $today) >= '2015' && date('m', $today) >= 10 && date('d', $today) >= 4 ) : ?>
+    <?php if( date('Y', $today) >= '2015' && date('n', $today) >= 10 && date('j', $today) >= 4 ) : ?>
         <img id="open" class="small-centered medium-uncentered" src="<?php echo get_template_directory_uri(); ?>/assets/time-ribbon_9-7.png">
-    <?php elseif( date('Y', $today) >= 2015 && date('m', $today) >= 11 && date('d', $today) >= 1 ) : ?>
+    <?php elseif( date('Y', $today) >= 2015 && date('n', $today) >= 11 && date('j', $today) >= 1 ) : ?>
         <img id="open" class="small-centered medium-uncentered" src="<?php echo get_template_directory_uri(); ?>/assets/time-ribbon_closed.png">
     <?php else : ?>
         <img id="open" class="small-centered medium-uncentered" src="<?php echo get_template_directory_uri(); ?>/assets/open-today.png">