mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
doc: srfi-19: Use day' instead of
date' for `make-date'.
Looking at the SRFI-19 specification, the argument is called `day', not `date'. Even the accessor is called `date-day'. So adjust the documentation to match. Also adjust the (web http) module, which was using `date' as well. * doc/ref/srfi-modules.texi (SRFI-19 Date): Use `day' instead of `date'. * module/web/http.scm (parse-rfc-822-date, parse-rfc-850-date) (parse-asctime-date): Same. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
98ffeacf2c
commit
f6359a4715
2 changed files with 13 additions and 13 deletions
|
@ -2662,7 +2662,7 @@ each context, and apply non-SRFI-19 facilities to convert where necessary.
|
|||
Return @code{#t} if @var{obj} is a date object, or @code{#f} if not.
|
||||
@end defun
|
||||
|
||||
@defun make-date nsecs seconds minutes hours date month year zone-offset
|
||||
@defun make-date nsecs seconds minutes hours day month year zone-offset
|
||||
Create a new date object.
|
||||
@c
|
||||
@c FIXME: What can we say about the ranges of the values. The
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue