Matt Sergeant wrote:
>
> Its doable - I could add in the code for ht_time almost verbatim, although
> I *am* using Perl's gmtime.
Could you not use the same gmtime that ht_time uses?
D
--
David E. Wheeler
Software Engineer
Salon Internet ICQ: 15726394
[EM
On Tue, 17 Oct 2000, David E. Wheeler wrote:
> Matt Sergeant wrote:
>
> > You should still switch to Time::Object. Loading POSIX.pm still loads in
> > the .so which contains loads of cruft for things you don't
> > want/need. Whereas loading Time::Object is a lot smaller. Of course I'm
> > not su
Matt Sergeant wrote:
> You should still switch to Time::Object. Loading POSIX.pm still loads in
> the .so which contains loads of cruft for things you don't
> want/need. Whereas loading Time::Object is a lot smaller. Of course I'm
> not sure how you'd fix the isdst thing with Time::Object, since
On Mon, 16 Oct 2000, David E. Wheeler wrote:
> Matt Sergeant wrote:
> >
> > On Mon, 16 Oct 2000, David E. Wheeler wrote:
> >
> > I'm confused. Why are you using gmtime then?
>
> Because if no time is supplied, I want it to default to GMT. I'm setting
> up an app in which the database will stor
Matt Sergeant wrote:
>
> On Mon, 16 Oct 2000, David E. Wheeler wrote:
>
> I'm confused. Why are you using gmtime then?
Because if no time is supplied, I want it to default to GMT. I'm setting
up an app in which the database will store date/time in GMT only, but
will serve it out to users in the
On Mon, 16 Oct 2000, David E. Wheeler wrote:
> Matt Sergeant wrote:
> >
> > Sadly gmtime doesn't return any component indicating the timezone. Of
> > course why not print out GMT instead of %Z?
>
> Because it won't always be GMT.
I'm confused. Why are you using gmtime then?
> > Alternatively,
Matt Sergeant wrote:
>
> Sadly gmtime doesn't return any component indicating the timezone. Of
> course why not print out GMT instead of %Z?
Because it won't always be GMT.
> Alternatively, why not use Time::Object? It implements strftime without
> the overhead of POSIX.pm, and does it in XS to
On Mon, 16 Oct 2000, David E. Wheeler wrote:
> Hi All,
>
> Can anyone tell me why these are not equivalent? Shouldn't strftime know
> that the time returned from gmtime() is GMT? I'm trying to create a
> library that'll use ht_time when $ENV{MOD_PERL} is true, ans strftime
> otherwise. But they
Hi All,
Can anyone tell me why these are not equivalent? Shouldn't strftime know
that the time returned from gmtime() is GMT? I'm trying to create a
library that'll use ht_time when $ENV{MOD_PERL} is true, ans strftime
otherwise. But they need to be consistent!
use Apache::Util 'ht_time';
my