|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.40 1998/02/01 19:43:54 momjian Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.41 1998/02/02 01:28:12 momjian Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
@ -140,7 +140,8 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn) |
|
|
|
|
}; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if defined(DATEDEBUG) && defined(HAVE_INT_TIMEZONE) |
|
|
|
|
#if defined(DATEDEBUG) |
|
|
|
|
#if defined(HAVE_INT_TIMEZONE) |
|
|
|
|
printf("datetime2tm- (localtime) %d.%02d.%02d %02d:%02d:%02d %s %s dst=%d\n", |
|
|
|
|
tx->tm_year, tx->tm_mon, tx->tm_mday, tx->tm_hour, tx->tm_min, tx->tm_sec, |
|
|
|
|
tzname[0], tzname[1], tx->tm_isdst); |
|
|
|
@ -149,6 +150,7 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn) |
|
|
|
|
tx->tm_year, tx->tm_mon, tx->tm_mday, tx->tm_hour, tx->tm_min, tx->tm_sec, |
|
|
|
|
tx->tm_zone, tx->tm_isdst); |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifdef USE_POSIX_TIME |
|
|
|
|
|
|
|
|
|