From dc31fb88b706a67b73318bfa48e9c47bae56d6f2 Mon Sep 17 00:00:00 2001 From: dominiq Date: Sun, 18 Dec 2016 18:03:36 +0000 Subject: 2016-12-18 Dominique d'Humieres PR fortran/78545 * intrinsic.texi: Fix documentation for GMTIME and LTIME. * intrinsics/date_and_time.c: Fix comments for GMTIME and LTIME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243785 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/ChangeLog | 5 +++++ libgfortran/intrinsics/date_and_time.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'libgfortran') diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index bcd8cd3e24f..a53cc2d7073 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2016-12-18 Dominique d'Humieres + + PR fortran/78545 + * intrinsics/date_and_time.c: Fix comments for GMTIME and LTIME. + 2016-12-16 Jerry DeLisle PR fortran/78622 diff --git a/libgfortran/intrinsics/date_and_time.c b/libgfortran/intrinsics/date_and_time.c index 66bcd6f8b2b..5e1f1608af2 100644 --- a/libgfortran/intrinsics/date_and_time.c +++ b/libgfortran/intrinsics/date_and_time.c @@ -456,11 +456,11 @@ idate_i8 (gfc_array_i8 *__values) 1. Seconds after the minute, range 0-59 or 0-61 to allow for leap seconds 2. Minutes after the hour, range 0-59 3. Hours past midnight, range 0-23 - 4. Day of month, range 0-31 + 4. Day of month, range 1-31 5. Number of months since January, range 0-11 6. Years since 1900 7. Number of days since Sunday, range 0-6 - 8. Days since January 1 + 8. Days since January 1, range 0-365 9. Daylight savings indicator: positive if daylight savings is in effect, zero if not, and negative if the information isn't available. */ @@ -548,11 +548,11 @@ gmtime_i8 (GFC_INTEGER_8 * t, gfc_array_i8 * tarray) 1. Seconds after the minute, range 0-59 or 0-61 to allow for leap seconds 2. Minutes after the hour, range 0-59 3. Hours past midnight, range 0-23 - 4. Day of month, range 0-31 + 4. Day of month, range 1-31 5. Number of months since January, range 0-11 6. Years since 1900 7. Number of days since Sunday, range 0-6 - 8. Days since January 1 + 8. Days since January 1, range 0-365 9. Daylight savings indicator: positive if daylight savings is in effect, zero if not, and negative if the information isn't available. */ -- cgit v1.2.1