Crates.io | calendar |
lib.rs | calendar |
version | 0.1.3 |
source | src |
created_at | 2020-05-01 10:16:07.552736 |
updated_at | 2020-09-11 09:13:11.03989 |
description | Simple CLI Calendar |
homepage | https://github.com/printfn/calendar-rs |
repository | https://github.com/printfn/calendar-rs |
max_upload_size | |
id | 236094 |
size | 23,321 |
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
Licensed under either of
at your option.
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.