Mercurial > octave
diff libinterp/corefcn/time.cc @ 25387:6cf9d00ad848 stable
Use correct abbreviation UTC for Coordinated Universal Time (bug #53918).
* time.cc (Ftime, Fgmtime): Replace "CUT" with "UTC" in docstrings.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 17 May 2018 09:22:31 -0700 |
parents | 6652d3823428 |
children | 00f796120a6d |
line wrap: on
line diff
--- a/libinterp/corefcn/time.cc Wed May 16 22:02:10 2018 -0700 +++ b/libinterp/corefcn/time.cc Thu May 17 09:22:31 2018 -0700 @@ -108,8 +108,8 @@ @deftypefn {} {@var{seconds} =} time () Return the current time as the number of seconds since the epoch. -The epoch is referenced to 00:00:00 CUT (Coordinated Universal Time) 1 Jan -1970. For example, on Monday February 17, 1997 at 07:15:06 CUT, the value +The epoch is referenced to 00:00:00 UTC (Coordinated Universal Time) 1 Jan +1970. For example, on Monday February 17, 1997 at 07:15:06 UTC, the value returned by @code{time} was 856163706. @seealso{strftime, strptime, localtime, gmtime, mktime, now, date, clock, datenum, datestr, datevec, calendar, weekday} @end deftypefn */) @@ -130,7 +130,7 @@ doc: /* -*- texinfo -*- @deftypefn {} {@var{tm_struct} =} gmtime (@var{t}) Given a value returned from @code{time}, or any non-negative integer, -return a time structure corresponding to CUT (Coordinated Universal Time). +return a time structure corresponding to UTC (Coordinated Universal Time). For example: