changeset 3002:0a4774bc49fd octave-forge

Remove non-standard --rfc-3339 date option and use a more standard means of creating an rfc-3339 date
author adb014
date Tue, 30 Jan 2007 20:36:02 +0000
parents 438a36a0f919
children ba0369e7b193
files www/get_current_date.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/www/get_current_date.sh	Tue Jan 30 20:34:42 2007 +0000
+++ b/www/get_current_date.sh	Tue Jan 30 20:36:02 2007 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-echo -n `/bin/date --rfc-3339=seconds`
+echo -n `date "+%Y-%m-%d %H:%M:%S%z"`