Mercurial > octave
diff scripts/time/datestr.m @ 28958:6fd6ad758b10
doc: Use @xref, @pxref rather than "see @code{}" in TexInfo.
Using macros produces a hyperlinked cross-reference, rather than
just text, which is easier to navigate.
* integral.m, griddata.m, errordlg.m, warndlg.m, lookfor.m, cond.m,
getfield.m, odeset.m, fminsearch.m, fminunc.m, fsolve.m, erase.m, example.m,
datenum.m, datestr.m, datevec.m, now.m:
doc: Use @xref, @pxref rather than "see @code{}" in TexInfo.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 19 Oct 2020 09:13:53 -0700 |
parents | d8318c12d903 |
children | 7854d5752dd2 |
line wrap: on
line diff
--- a/scripts/time/datestr.m Mon Oct 19 08:26:46 2020 -0700 +++ b/scripts/time/datestr.m Mon Oct 19 09:13:53 2020 -0700 @@ -30,9 +30,10 @@ ## Format the given date/time according to the format @var{f} and return ## the result in @var{str}. ## -## @var{date} is a serial date number (see @code{datenum}), a date vector (see -## @code{datevec}), or a string or cell array of strings. In the latter case, -## it is passed to @code{datevec} to guess the input date format. +## @var{date} is a serial date number (@pxref{XREFdatenum,,@code{datenum}}), a +## date vector (@pxref{XREFdatevec,,@code{datevec}}), or a string or cell array +## of strings. In the latter case, it is passed to @code{datevec} to guess the +## input date format. ## ## @var{f} can be an integer which corresponds to one of the codes in the table ## below, or a date format string.