]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tools/cal/cal.factor
time: rename set-time to set-system-time. Add calendar words.
[factor.git] / extra / tools / cal / cal.factor
index 72619e16362a5656047514a7174e823c2b4cb65d..5554aa866a0a8823c077e2c8e690c94f431b0533 100644 (file)
@@ -2,14 +2,13 @@
 ! See http://factorcode.org/license.txt for BSD license
 USING: accessors calendar calendar.english combinators
 command-line formatting grouping io kernel math.parser
-math.ranges namespaces sequences sequences.extras strings.tables
-;
+math.ranges namespaces sequences sequences.extras strings.tables ;
 IN: tools.cal
 
 <PRIVATE
 
 : days ( timestamp -- days )
-    beginning-of-month
+    start-of-month
     [ day-of-week "  " <repetition> ]
     [ days-in-month [1,b] [ "%2d" sprintf ] map ] bi append
     42 "  " pad-tail ;