cvs: /php3/functions datetime.c
| From: | Egon Schmid | Date: | Sun, 01 Aug 1999 14:06:19 +0000 |
| Subject: | cvs: /php3/functions datetime.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9425@lists.php.net to get a copy of this message | ||
eschmid Sun Aug 1 10:06:19 1999 EDT
Modified files:
/php3/functions datetime.c
Log:
strftime is needed only once. Text is missing for strtotime. Andrey?
Index: php3/functions/datetime.c
diff -u php3/functions/datetime.c:1.71 php3/functions/datetime.c:1.72
--- php3/functions/datetime.c:1.71 Wed Jul 28 12:54:53 1999
+++ php3/functions/datetime.c Sun Aug 1 10:06:18 1999
@@ -30,7 +30,7 @@
*/
-/* $Id: datetime.c,v 1.71 1999/07/28 16:54:53 rasmus Exp $ */
+/* $Id: datetime.c,v 1.72 1999/08/01 14:06:18 eschmid Exp $ */
#ifdef THREAD_SAFE
@@ -575,8 +575,6 @@
#if HAVE_STRFTIME
-/* {{{ proto string strftime(string format[, int timestamp])
- Format a local time/date according to locale settings */
void _php3_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm)
{
pval *format_arg, *timestamp_arg;
@@ -629,7 +627,6 @@
efree(buf);
RETURN_FALSE;
}
-/* }}} */
/* {{{ proto string strftime(string format[, int timestamp])
Format a local time/date according to locale settings */
@@ -650,6 +647,7 @@
/* {{{ proto int strtotime(string time, int now) */
+
void php3_strtotime(INTERNAL_FUNCTION_PARAMETERS)
{
pval *timep, *nowp;