跳转到主要内容

历卡

项目描述

阳历历卡

安装

  1. 使用pip
pip install bscal
  1. 使用pipx
pipx install bscal

使用方法

以BS格式显示日历

$ bscal
     Poush 2080
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

[!提示] 您可以提供 year 来显示该年的日历,也可以可选地指定 month 以显示特定月份的日历。

显示当前BS日期

$ bsdate
Tue Poush 17 09:14:14 +0545 2080

显示特定日期(来自给定的ISO格式)

$ bsdate 2016-09-08
Thu Bhadra 23 09:17:21 +0545 2073

显示特定日期(以Unix时间戳表示)

$ bsdate 1473305798
Thu Bhadra 23 09:21:38 +0545 2073

将BS日期转换为AD格式

$ bsdate -c 2073-05-23
Thu Sep  8 09:19:00 +0545 2016

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面