Skip to the content

Koyomi Calendars暦

Calendar pages as SVG: a day as an icon in 18 original designs, a whole month as a poster or a desk pad, and the page turning from one day to the next.

Koyomi is the Japanese word 暦 for the calendar. About the name

Contents

Reference · /japanese

ROKUYOconstant

The six days in order of (old month + old day) mod 6, with the reading and an English gloss.

Import it

import { ROKUYO } from "@johnmorrisdotca/koyomi-calendars/japanese";

Also exported from: @johnmorrisdotca/koyomi-calendars

Definition

const ROKUYO: readonly Rokuyo[] = [
    { ja: "大安", reading: "Taian", en: "Taian (very lucky)" },
    { ja: "赤口", reading: "Shakkō", en: "Shakkō (unlucky except at noon)" },
    { ja: "先勝", reading: "Senshō", en: "Senshō (lucky in the morning)" },
    { ja: "友引", reading: "Tomobiki", en: "Tomobiki (friends pulled along)" },
    { ja: "先負", reading: "Senbu", en: "Senbu (lucky in the afternoon)" },
    { ja: "仏滅", reading: "Butsumetsu", en: "Butsumetsu (unlucky)" },
]

Examples

import { ROKUYO } from "@johnmorrisdotca/koyomi-calendars/japanese";

console.log(ROKUYO.map((day) => day.ja).join(" "));
大安 赤口 先勝 友引 先負 仏滅

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/koyomi-calendars 0.3.0.