Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e9c44bd

Browse files
committed
More comment update of time macros.
1 parent e6b72d6 commit e9c44bd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/include/utils/timestamp.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.51 2005/07/21 18:06:13 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.52 2005/07/21 20:37:21 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -73,8 +73,8 @@ typedef struct
7373
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
7474

7575
/*
76-
* This doesn't adjust for uneven daylight savings time intervals, nor
77-
* leap seconds.
76+
* This doesn't adjust for uneven daylight savings time intervals or leap
77+
* seconds, and it crudely estimates leap years.
7878
*/
7979
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
8080
#define SECS_PER_DAY 86400

src/interfaces/ecpg/pgtypeslib/dt.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ do { \
229229
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
230230

231231
/*
232-
* This doesn't adjust for uneven daylight savings time intervals, nor
233-
* leap seconds.
232+
* This doesn't adjust for uneven daylight savings time intervals or leap
233+
* seconds, and it crudely estimates leap years.
234234
*/
235235
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
236236
#define SECS_PER_DAY 86400

0 commit comments

Comments
 (0)