X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Fcalendar%2Fcalendar-docs.factor;h=e2fa95d4e76e3a0d4cd9d3e0b0d0caa106835a81;hp=5057209b4edf776c6f9167ffb8bcf3c2080be403;hb=fdf54cf0b11978ec300be74bfdfa4c75a71252ad;hpb=f6c83c6abf3ad4845466b0da857a71e802f67fd9 diff --git a/basis/calendar/calendar-docs.factor b/basis/calendar/calendar-docs.factor index 5057209b4e..e2fa95d4e7 100644 --- a/basis/calendar/calendar-docs.factor +++ b/basis/calendar/calendar-docs.factor @@ -272,8 +272,8 @@ HELP: convert-timezone } ; HELP: >local-time -{ $values { "timestamp" timestamp } } -{ $description "Converts the " { $snippet "timestamp" } " to the timezone of your computer." } +{ $values { "timestamp" timestamp } { "timestamp'" timestamp } } +{ $description "Converts the " { $snippet "timestamp" } " to the timezone of your computer, returning a new " { $link timestamp } " instance." } { $examples { $example "USING: accessors calendar kernel prettyprint ;" "now now-gmt >local-time [ gmt-offset>> ] same? ." @@ -282,8 +282,8 @@ HELP: >local-time } ; HELP: >gmt -{ $values { "timestamp" timestamp } } -{ $description "Converts the " { $snippet "timestamp" } " to the GMT timezone." } +{ $values { "timestamp" timestamp } { "timestamp'" timestamp } } +{ $description "Converts the " { $snippet "timestamp" } " to the GMT timezone, returning a new " { $link timestamp } " instance." } { $examples { $example "USING: accessors calendar kernel prettyprint ;" "now >gmt gmt-offset>> hour>> ." @@ -301,7 +301,7 @@ HELP: gmt { $description "Set the time zone to GMT." } { $notes "The time is not converted, if you want that then call " { $link >gmt } "." } ; -{ local-time >local-time gmt >gmt utc >utc convert-timezone } related-words +{ local-time >local-time convert-local-time gmt >gmt convert-gmt utc >utc convert-utc convert-timezone } related-words HELP: duration* { $values { "obj1" object } { "obj2" object } { "obj3" object } }