From dd3cfb1268c509cf4cedc03d950f0249d848fde2 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 18 Sep 2010 17:41:56 -0700 Subject: [PATCH] calendar: minor doc fixes --- basis/calendar/calendar-docs.factor | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/basis/calendar/calendar-docs.factor b/basis/calendar/calendar-docs.factor index e76aace464..c31ddca2c1 100644 --- a/basis/calendar/calendar-docs.factor +++ b/basis/calendar/calendar-docs.factor @@ -519,7 +519,7 @@ HELP: since-1970 { $description "Adds the duration to the beginning of Unix time and returns the result as a timestamp." } ; ARTICLE: "calendar" "Calendar" -"The two data types used throughout the calendar library:" +"The " { $vocab-link "calendar" } " vocabulary defines two data types and a set of operations on them:" { $subsections timestamp duration @@ -533,13 +533,12 @@ ARTICLE: "calendar" "Calendar" now gmt } -"Converting between timestamps:" +"Time zones:" { $subsections >local-time >gmt + convert-timezone } -"Converting between timezones:" -{ $subsections convert-timezone } "Timestamps relative to each other:" { $subsections "relative-timestamps" } "Operations on units of time:" @@ -548,9 +547,10 @@ ARTICLE: "calendar" "Calendar" "months" "days" } +"Both " { $link timestamp } "s and " { $link duration } "s implement the " { $link "math.order" } "." +$nl "Meta-data about the calendar:" -{ $subsections "calendar-facts" } -; +{ $subsections "calendar-facts" } ; ARTICLE: "timestamp-arithmetic" "Timestamp arithmetic" "Adding timestamps and durations, or durations and durations:"