Date: 08/02/99
- Next message: Andrey Zmievski: "Re: [PHP-DEV] cvs: /php3/functions datetime.c"
- Previous message: Hans van Hernen: "[PHP-DEV] Protecting Realaudio files"
- Next in thread: Andrey Zmievski: "Re: [PHP-DEV] cvs: /php3/functions datetime.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
{
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrey Zmievski: "Re: [PHP-DEV] cvs: /php3/functions datetime.c"
- Previous message: Hans van Hernen: "[PHP-DEV] Protecting Realaudio files"
- Next in thread: Andrey Zmievski: "Re: [PHP-DEV] cvs: /php3/functions datetime.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

