Re: [log] bug

From: Date: Tue, 09 Apr 2002 04:56:55 +0000
Subject: Re: [log] bug
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1112@lists.php.net to get a copy of this message
> > On Mon, 2002-04-08 at 21:39, robert janeczek wrote: > >> hi > >> i quite don`t know where to post this so its going here :) > >> > >> Log_file::log() : > >> > >> [...] > >> $entry = sprintf("%s %s [%s] %s\n", strftime("%b %d %T"), > >> $this->ident, Log::priorityToString($priority), $message); > >> [...] > >> > >> this kind of strftime format string (%T) doesn`t output anything on windows > >> platform. can you change this to %H:%M:%S? > >> > >> rashid > >> > >> ps. btw - is there bug submiting form? > > > There is a PEAR category on bugs.php.net. > > Please have also a look at bug 16498, 16499, 15584 > and the note in the php-manual php.net/strftime. > Its known that %D and %T didn't work on win. yes, i know, i even reported this as a php bug yesterday and then i read this is c-lib problem :) > Remains the problem for the PEAR code. > Since the problem is microsofts c-lib maybe further releases of php > provide a workaround to solve this microsoft prob. i think you shouldn`t be waiting for workaround in php - you can change %T format string to %H:%M:%S, which is cross-platform compatible. now log isn`t working on windows properly and waiting for php patch when you can change some letters in pear code is waste of time in my opinion. rash

« previous php.pear.general (#1112) next »