BSD Ports

chinese/lunar 2.1p1 OpenBSD

convert solar calendar to lunar calendar

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
chinese

Description

The lunar program performs date conversion between the Gregorian Solar Calendar (SC) and the Chinese Lunar Calendar (LC).

Given a date in either calendar, the program also outputs the corresponding "shengxiao" (animal of the year) and "ganzhi" characters.

The date range currently covered is from about 1900 A.D. to 2049 A.D.

The standard time of the Lunar Calendar is Beijing (Hong Kong) Standard Time, not GMT. Be sure to adjust appropriately for other time zones and "Day-light Saving Time".

-- David O'Brien

In the other systems

The newest version among them is 2.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDchinese/lunar2.1p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDchinese/lunar2.1_2 newestnone known-[email protected]-
DragonFlychinese/lunar2.1_2 newestnone known-[email protected]-
MidnightBSDchinese/lunar2.1_2 newestno data-[email protected]-
HardenedBSDchinese/lunar2.1_2 newestno data-[email protected]-
GhostBSDchinese/lunar2.1_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add zh-lunar

From the ports tree:

cd /usr/ports/chinese/lunar && make install

Dependencies

No port depends on this one.