cvs: /php3/functions datetime.c

From: Date: Mon, 02 Aug 1999 14:29:05 +0000
Subject: cvs: /php3/functions datetime.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-9447@lists.php.net to get a copy of this message
andrey Mon Aug 2 10:29:05 1999 EDT Modified files: /php3/functions datetime.c Log: -Update proto for strtotime() -Update size calculation Index: php3/functions/datetime.c diff -u php3/functions/datetime.c:1.72 php3/functions/datetime.c:1.73 --- php3/functions/datetime.c:1.72 Sun Aug 1 10:06:18 1999 +++ php3/functions/datetime.c Mon Aug 2 10:29:04 1999 @@ -30,7 +30,7 @@ */ -/* $Id: datetime.c,v 1.72 1999/08/01 14:06:18 eschmid Exp $ */ +/* $Id: datetime.c,v 1.73 1999/08/02 14:29:04 andrey Exp $ */ #ifdef THREAD_SAFE @@ -268,6 +268,8 @@ case 'j': /* day of the month, numeric, no leading zeros */ case 'H': /* hour, numeric, 24 hour format */ case 'h': /* hour, numeric, 12 hour format */ + case 'G': /* hour, numeric, 24 hour format, no leading zeroes */ + case 'g': /* hour, numeric, 12 hour format, no leading zeroes */ case 'i': /* minutes, numeric */ case 's': /* seconds, numeric */ case 'A': /* AM/PM */ @@ -646,7 +648,9 @@ #endif -/* {{{ proto int strtotime(string time, int now) */ +/* {{{ proto int strtotime(string time, int now) + Convert string representation of date to a timestamp */ +*/ void php3_strtotime(INTERNAL_FUNCTION_PARAMETERS) {

« previous php.dev (#9447) next »