fix calendar docs

db4
Doug Coleman 2008-08-29 15:19:41 -05:00
parent 24bfa90a04
commit 681d7e962c
1 changed files with 3 additions and 3 deletions

View File

@ -17,12 +17,12 @@ HELP: gmt-offset-duration
{ $description "Returns a " { $link duration } " object with the GMT offset returned by " { $link gmt-offset } "." } ; { $description "Returns a " { $link duration } " object with the GMT offset returned by " { $link gmt-offset } "." } ;
HELP: <date> HELP: <date>
{ $values { "year" real } { "month" real } { "day" real } } { $values { "year" integer } { "month" integer } { "day" integer } { "timestamp" timestamp } }
{ $description "Returns a timestamp object representing the start of the specified day in your current timezone." } { $description "Returns a timestamp object representing the start of the specified day in your current timezone." }
{ $examples { $examples
{ $example "USE: calendar" { $example "USING: calendar prettyprint ;"
"12 25 2010 <date> ." "12 25 2010 <date> ."
"T{ timestamp f 12 25 2010 0 0 0 T{ duration f 0 0 0 -5 0 0 }" "T{ timestamp f 12 25 2010 0 0 0 T{ duration f 0 0 0 -5 0 0 } }"
} }
} ; } ;