]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.cal: minor formatting.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 4 Jan 2017 03:12:43 +0000 (19:12 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 4 Jan 2017 03:12:43 +0000 (19:12 -0800)
extra/tools/cal/cal.factor

index f887585baabbebf71fd91cd26e78cbe31c508c4f..0a343984ef4731200ffd4ea65d801ce7116008e3 100644 (file)
@@ -14,8 +14,7 @@ IN: tools.cal
     42 "  " pad-tail ;
 
 : month-header ( timestamp -- str )
-    "%B %Y" strftime
-    20 CHAR: \s pad-center ;
+    "%B %Y" strftime 20 CHAR: \s pad-center ;
 
 : year-header ( timestamp -- str )
     "%Y" strftime 64 CHAR: \s pad-center ;