From 79064787718437cdd9e617e37427e390de8aeb49 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Mon, 4 Aug 2003 23:12:14 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1969 --- html/ops/util_ops.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/ops/util_ops.inc b/html/ops/util_ops.inc index 5fc95809e8..7cfdaabe76 100644 --- a/html/ops/util_ops.inc +++ b/html/ops/util_ops.inc @@ -51,8 +51,10 @@ function page_tail() { echo "
Main admin page \n"; } -function date_str($when) { - return date("g:i A, l M j", $when); +function date_str($x) { + if ($x == 0) return "---"; + // return date("g:i A, l M j", $when); + return strftime("%Y-%m-%d", $x); } function time_str($x) {