1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

More comment update of time macros.

This commit is contained in:
Bruce Momjian
2005-07-21 20:37:21 +00:00
parent e6b72d6af6
commit e9c44bd382
2 changed files with 5 additions and 5 deletions

View File

@ -229,8 +229,8 @@ do { \
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
/*
* This doesn't adjust for uneven daylight savings time intervals, nor
* leap seconds.
* This doesn't adjust for uneven daylight savings time intervals or leap
* seconds, and it crudely estimates leap years.
*/
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
#define SECS_PER_DAY 86400