apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject bug in isdst setting?
Date Fri, 11 Jun 2004 18:43:46 GMT
is it just me, or is there something legitimately wrong here:



#include <time.h>
#include "apr.h"
#include "apr_time.h"
#include <stdio.h>

int main(int argc, char *argvp[])
{
    apr_time_exp_t lt;
    apr_time_exp_lt(&lt, (apr_time_now() / APR_USEC_PER_SEC));
    printf("is_dst=%d\n", lt.tm_isdst);
    return 0;
}


$ date
Fri Jun 11 14:38:16 EDT 2004
$ ./x
is_dst=0


-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Ken.Coar.Org/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

Mime
View raw message