]> gitweb.factorcode.org Git - factor.git/commitdiff
calendar: better warnings.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 1 Nov 2012 21:41:30 +0000 (14:41 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 1 Nov 2012 21:41:30 +0000 (14:41 -0700)
basis/calendar/calendar-docs.factor

index a2549d44387c12493a658780a2ba75293e3be0d9..a7e08b74fdd8905b5dd500c05962319fcd151081 100644 (file)
@@ -29,7 +29,7 @@ HELP: <date>
 HELP: month-names
 { $values { "value" object } }
 { $description "Returns an array with the English names of all the months." }
-{ $warning "Do not use this array for looking up a month name directly. Use month-name instead." } ;
+{ $warning "Do not use this array for looking up a month name directly. Use " { $link month-name } " instead." } ;
 
 HELP: month-name
 { $values { "obj" { $or integer timestamp } } { "string" string } }
@@ -38,7 +38,7 @@ HELP: month-name
 HELP: month-abbreviations
 { $values { "value" array } }
 { $description "Returns an array with the English abbreviated names of all the months." }
-{ $warning "Do not use this array for looking up a month name directly. Use month-abbreviation instead." } ;
+{ $warning "Do not use this array for looking up a month name directly. Use " { $link month-abbreviation } " instead." } ;
 
 HELP: month-abbreviation
 { $values { "n" integer } { "string" string } }