src/hg/encode/encodeDownloadsPage/encodeDownloadsPage.pl 1.19

1.19 2009/08/26 00:37:21 braney
always print releaseDate
Index: src/hg/encode/encodeDownloadsPage/encodeDownloadsPage.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeDownloadsPage/encodeDownloadsPage.pl,v
retrieving revision 1.18
retrieving revision 1.19
diff -b -B -U 4 -r1.18 -r1.19
--- src/hg/encode/encodeDownloadsPage/encodeDownloadsPage.pl	31 Jul 2009 19:38:53 -0000	1.18
+++ src/hg/encode/encodeDownloadsPage/encodeDownloadsPage.pl	26 Aug 2009 00:37:21 -0000	1.19
@@ -479,17 +479,18 @@
     }
     my $details = join("; ", @tmp);
 
     # If releaseDate is in the past then don't bother showing it.
-    if(length($releaseDate) > 0) {
-        my ($YYYY,$MM,$DD) = split('-',$releaseDate);
-        my $then = timegm(0,0,0,$DD,$MM-1,$YYYY);
-        my $now = time();
-        my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($now);
-        if($then -$now < 0) {
-            $releaseDate = "";
-        }
-    }
+# QA wants dates all the time
+#    if(length($releaseDate) > 0) {
+#        my ($YYYY,$MM,$DD) = split('-',$releaseDate);
+#        my $then = timegm(0,0,0,$DD,$MM-1,$YYYY);
+#        my $now = time();
+#        my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($now);
+#        if($then -$now < 0) {
+#            $releaseDate = "";
+#        }
+#    }
 
     #htmlTableRow(*OUT_FILE,$fileName,$file[2],$submitDate,$releaseDate,$details);
     push @rows, sortableHtmlRow(\@sortables,$fileName,$file[2],$submitDate,$releaseDate,$details);
 }