]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix load error in calendar
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 2 Mar 2010 17:38:35 +0000 (11:38 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 2 Mar 2010 17:38:35 +0000 (11:38 -0600)
extra/calendar/holidays/us/us.factor

index a4fb19c5979204b93e63f466c3ece97651d6b261..538836952f339fd842262eb8d12bc8598867083a 100644 (file)
@@ -33,7 +33,7 @@ HOLIDAY-NAME: new-years-day us-federal "New Year's Day"
 HOLIDAY: martin-luther-king-day january 3 monday-of-month ;
 HOLIDAY-NAME: martin-luther-king-day us-federal "Martin Luther King Day"
 
-HOLIDAY: inauguration-day year dup 4 neg rem + january 20 >>day ;
+HOLIDAY: inauguration-day january 20 >>day [ dup 4 neg rem + ] change-year ;
 HOLIDAY-NAME: inauguration-day us "Inauguration Day"
 
 HOLIDAY: washingtons-birthday february 3 monday-of-month ;