[ANN] Calendars.jl

Happy new year!

this is not a registered package and I don’t have an idea about the proper name for it.
it works like Charles Dye’s cal that was present and have used from almost 50 years ago.

$ cal
    January 2020
Su Mo Tu We Th Fr Sa
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Calendars.jl github repo is at

Examples:

julia> using Calendars

julia> VerticalCalendar(Date(2020, 7), datespans=[DateSpan(Date(2020,7,27):Day(1):Date(2020,7,31), :green)])
    2020
    Jul
        5 12 19 26
Mon     6 13 20 27
        7 14 21 28
Wed  1  8 15 22 29
     2  9 16 23 30
Fri  3 10 17 24 31
     4 11 18 25

julia> VerticalCalendar(Date(2020, 7), datespans=[DateSpan(Date(2020,7,27):Day(1):Date(2020,7,31), :green)])'
     Su Mo Tu We Th Fr Sa
Jul            1  2  3  4
2020  5  6  7  8  9 10 11
     12 13 14 15 16 17 18
     19 20 21 22 23 24 25
     26 27 28 29 30 31

thanks.

18 Likes