calendar

Crates.iocalendar
lib.rscalendar
version0.1.3
sourcesrc
created_at2020-05-01 10:16:07.552736
updated_at2020-09-11 09:13:11.03989
descriptionSimple CLI Calendar
homepagehttps://github.com/printfn/calendar-rs
repositoryhttps://github.com/printfn/calendar-rs
max_upload_size
id236094
size23,321
(printfn)

documentation

README

Calendar

Command-line calendar based on cal.

It uses a compact layout that fits in 65x23 characters.

Example output (for 2020):

Su Mo Tu We Th Fr Sa  Su Mo   2020   Fr Sa  Su Mo Tu We Th Fr Sa
Jan       1  2  3  4  May             1  2  Sep    1  2  3  4  5
 5  6  7  8  9 10 11   3  4  5  6  7  8  9   6  7  8  9 10 11 12
12 13 14 15 16 17 18  10 11 12 13 14 15 16  13 14 15 16 17 18 19
19 20 21 22 23 24 25  17 18 19 20 21 22 23  20 21 22 23 24 25 26
26 27 28 29 30 31     24 25 26 27 28 29 30  27 28 29 30
Feb                1  31                    Oct          1  2  3
 2  3  4  5  6  7  8  Jun 1  2  3  4  5  6   4  5  6  7  8  9 10
 9 10 11 12 13 14 15   7  8  9 10 11 12 13  11 12 13 14 15 16 17
16 17 18 19 20 21 22  14 15 16 17 18 19 20  18 19 20 21 22 23 24
23 24 25 26 27 28 29  21 22 23 24 25 26 27  25 26 27 28 29 30 31
Mar                   28 29 30              Nov
 1  2  3  4  5  6  7  Jul       1  2  3  4   1  2  3  4  5  6  7
 8  9 10 11 12 13 14   5  6  7  8  9 10 11   8  9 10 11 12 13 14
15 16 17 18 19 20 21  12 13 14 15 16 17 18  15 16 17 18 19 20 21
22 23 24 25 26 27 28  19 20 21 22 23 24 25  22 23 24 25 26 27 28
29 30 31              26 27 28 29 30 31     29 30
Apr       1  2  3  4  Aug                1  Dec    1  2  3  4  5
 5  6  7  8  9 10 11   2  3  4  5  6  7  8   6  7  8  9 10 11 12
12 13 14 15 16 17 18   9 10 11 12 13 14 15  13 14 15 16 17 18 19
19 20 21 22 23 24 25  16 17 18 19 20 21 22  20 21 22 23 24 25 26
26 27 28 29 30        23 24 25 26 27 28 29  27 28 29 30 31
                      30 31

Syntax:

calendar                # prints calendar for current month
calendar 2021           # prints calendar for 2021
calendar January 2021   # prints calendar for January 2021

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt