From 681d7e962c367f3b2f372bf184df4b4331b08bd3 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 29 Aug 2008 15:19:41 -0500 Subject: [PATCH] fix calendar docs --- basis/calendar/calendar-docs.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/calendar/calendar-docs.factor b/basis/calendar/calendar-docs.factor index 0d335d1b41..19427b7c79 100644 --- a/basis/calendar/calendar-docs.factor +++ b/basis/calendar/calendar-docs.factor @@ -17,12 +17,12 @@ HELP: gmt-offset-duration { $description "Returns a " { $link duration } " object with the GMT offset returned by " { $link gmt-offset } "." } ; HELP: -{ $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." } { $examples - { $example "USE: calendar" + { $example "USING: calendar prettyprint ;" "12 25 2010 ." - "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 } }" } } ;