apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Kenneth Casson Leighton <l...@samba-tng.org>
Subject Re: More migration of code from httpd to apr-util
Date Sat, 09 Jun 2001 11:37:21 GMT
On Fri, Jun 08, 2001 at 09:48:08AM -0700, rbb@covalent.net wrote:
> 
> > > - date/time manipulation.
> > >
> > > at present, all i need to be able to do is get a
> > > time_t and display it in a nice localtime format.
> > > ripping code from httpd to do this is... uh.. silly?
> >
> > Submit a patch and I'll commit it into apr.  I think date and time stuff
> > should be yanked out into apr-util.  I've already yanked out date.
> > Submit something for time and I'll commit.  We can probably find some
> > helpful dude with httpd commit access to remove those files from httpd
> > entirely.
> 
> Ummmmm.....  apr_ctime takes an apr_time_t, and returns a formatted
> string.  If you need more, apr_strftime allows you to define the format
> for the string.
> 


ack.  thx ryan.  that's another function down.  only 12 or so
more to go :)

Mime
View raw message