pajoye          Thu Feb 10 09:35:13 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/standard       sunfuncs.c 
  Log:
  - MFH: fix #30745 and #31853 
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/sunfuncs.c?r1=1.6.2.2&r2=1.6.2.3&ty=u
Index: php-src/ext/standard/sunfuncs.c
diff -u php-src/ext/standard/sunfuncs.c:1.6.2.2 
php-src/ext/standard/sunfuncs.c:1.6.2.3
--- php-src/ext/standard/sunfuncs.c:1.6.2.2     Tue Aug  3 20:28:05 2004
+++ php-src/ext/standard/sunfuncs.c     Thu Feb 10 09:35:13 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: sunfuncs.c,v 1.6.2.2 2004/08/04 00:28:05 iliaa Exp $ */
+/* $Id: sunfuncs.c,v 1.6.2.3 2005/02/10 14:35:13 pajoye Exp $ */
 
 /*
        The sun position algorithm taken from the 'US Naval Observatory's
@@ -204,7 +204,7 @@
 
        switch (retformat) {
                case SUNFUNCS_RET_TIMESTAMP:
-                       RETURN_LONG((int) (time - (time % (24 * 3600))) + (int) 
(60 * ret));
+                       RETURN_LONG((int) (time - (time % (24 * 3600))) + (int) 
(3600 * ret));
                        break;
                case SUNFUNCS_RET_STRING:
                        N = (int) ret;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to