Update of /cvsroot/phpweather/phpweather
In directory sc8-pr-cvs1:/tmp/cvs-serv16678
Modified Files:
AUTHORS make-release.sh
Log Message:
Instead of rounding the $minutes_old and $hours, we truncate. The old
code would make a report that is 6000 seconds old look like it was 2
hours and 40 minutes old because the 1.66 hours were rounded upward to
2 hours.
Thanks goes to Jim Whitehead for pointing this out and fixing it.
Index: AUTHORS
===================================================================
RCS file: /cvsroot/phpweather/phpweather/AUTHORS,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- AUTHORS 20 Apr 2003 13:12:41 -0000 1.12
+++ AUTHORS 8 May 2003 19:42:35 -0000 1.13
@@ -121,3 +121,7 @@
Andrew Simpson (andrewsimpson)
Reported problems with the use of short open tags in a couple of
files.
+
+Jim Whitehead <ji...@tw...>
+ Fixed the rounding of hours and minutes in the pretty-printed
+ report.
Index: make-release.sh
===================================================================
RCS file: /cvsroot/phpweather/phpweather/make-release.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- make-release.sh 20 Apr 2003 13:12:43 -0000 1.9
+++ make-release.sh 8 May 2003 19:42:36 -0000 1.10
@@ -88,4 +88,3 @@
echo "done."
fi
-
|