Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Discordian-date/PicoLisp/discordian-date.l
Normal file
14
Task/Discordian-date/PicoLisp/discordian-date.l
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(de disdate (Year Month Day)
|
||||
(let? Date (date Year Month Day)
|
||||
(let (Leap (date Year 2 29) D (- Date (date Year 1 1)))
|
||||
(if (and Leap (= 2 Month) (= 29 Day))
|
||||
(pack "St. Tib's Day, YOLD " (+ Year 1166))
|
||||
(and Leap (>= D 60) (dec 'D))
|
||||
(pack
|
||||
(get
|
||||
'("Chaos" "Discord" "Confusion" "Bureaucracy" "The Aftermath")
|
||||
(inc (/ D 73)) )
|
||||
" "
|
||||
(inc (% D 73))
|
||||
", YOLD "
|
||||
(+ Year 1166) ) ) ) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue