X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fdate.php;h=e40cf7c6f221fcf66748c2ea8eddc0881f7229e8;hb=146b46ac549c53a1137d0151ec9b367371e0162c;hp=6371d25d4b20cd3935f3c701d41438a0213f03d7;hpb=3f7e6af3fe5b6d272d3082219af7aaa630bf8e5d;p=squirrelmail.git diff --git a/functions/date.php b/functions/date.php index 6371d25d..e40cf7c6 100644 --- a/functions/date.php +++ b/functions/date.php @@ -3,14 +3,13 @@ /** * date.php * - * Copyright (c) 1999-2005 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * Takes a date and parses it into a usable format. The form that a * date SHOULD arrive in is: * 29 Jun 1999 09:52:11 -0500 (EDT) * (as specified in RFC 822) -- 'Tue' is optional * + * @copyright © 1999-2005 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail * @subpackage date @@ -90,7 +89,7 @@ function getGMTSeconds($stamp, $tzc) { if ($neg) $iTzc = -1 * (int) $iTzc; /* stamp in gmt */ $stamp -= $iTzc; - /** now find what the server is at **/ + /* now find what the server is at */ $current = date('Z', time()); /* stamp in local timezone */ $stamp += $current; @@ -391,18 +390,18 @@ function getDateString( $stamp ) { * @return int the timestamp calculated from the header */ function getTimeStamp($dateParts) { - /** $dateParts[0] == Mon, Tue, Wed - ** $dateParts[1] == 23 - ** $dateParts[2] == Jan, Feb, Mar - ** $dateParts[3] == 1999 - ** $dateParts[4] ==