changeset 623:e01943123b0c

updated expires
author MURAKAMI Masaki <c112124@h.koeki-u.ac.jp>
date Sun, 03 Aug 2014 09:54:15 +0900
parents 06e0d0099ff0
children 59491ebd43f2
files 2014OC/admin/drawLots.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/2014OC/admin/drawLots.rb	Sun Aug 03 09:42:16 2014 +0900
+++ b/2014OC/admin/drawLots.rb	Sun Aug 03 09:54:15 2014 +0900
@@ -20,8 +20,8 @@
 
 t = Time.now
 expires = Time.local(2014, 8, 3, 8, 50)
-#expires2 = Time.local(2014, 7, 26, 13, 27)
-if t > expires && t.min % 3 == 0
+expires2 = Time.local(2014, 8, 3, 17, 00)
+if t > expires && t < expires
 else
   check = ""
   puts check

yatex.org