Skip to the content

Tsunagi繋ぎ

Join each pair with a separate line and fill the board, through fixed levels or seeded puzzles.

Tsunagi means joining in Japanese. About the name

Contents

Reference · Rules, solvers and generation

tsunagiDayfunction

The day a moment falls on, in UTC, or the same day if it is already written as one. Throws on a date that is not one.

Import it

import { tsunagiDay } from "@johnmorrisdotca/tsunagi";

Definition

function tsunagiDay(date: string | Date): TsunagiDay

Parameters

NameTypeDescription
datestring | Date

A UTC date or native date string.

Returns

string

The day a moment falls on, in UTC, or the same day if it is already written as one. Throws on a date that is not one.

Examples

import { tsunagiDay } from "@johnmorrisdotca/tsunagi";

console.log(tsunagiDay("2026-10-12"));
2026-10-12

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/tsunagi 1.7.0.