Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Calendar/REBOL/calendar.rebol
Normal file
13
Task/Calendar/REBOL/calendar.rebol
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Rebol []
|
||||
do [if "" = y: ask "Year (ENTER for current):^/^/" [prin y: now/year]
|
||||
foreach m system/locale/months [
|
||||
prin rejoin ["^/^/ " m "^/^/ "]
|
||||
foreach day system/locale/days [prin join copy/part day 2 " "]
|
||||
print "" f: to-date rejoin ["1-"m"-"y] loop f/weekday - 1 [prin " "]
|
||||
repeat i 31 [
|
||||
if attempt [c: to-date rejoin [i"-"m"-"y]][
|
||||
prin join either 1 = length? form i [" "][" "] i
|
||||
if c/weekday = 7 [print ""]
|
||||
]
|
||||
]
|
||||
] ask "^/^/Press [ENTER] to Continue..."]
|
||||
Loading…
Add table
Add a link
Reference in a new issue