Skip to the content

Suido水道

Turn pipes to connect the pumps and drains, through fixed levels or seeded puzzles.

Suido means water supply in Japanese. About the name

Contents

Reference · Load fixed levels

suidoDayfunction

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 { suidoDay } from "@johnmorrisdotca/suido/levels";

Also exported from: @johnmorrisdotca/suido/levels-info

Definition

function suidoDay(date: string | Date): SuidoDay

Parameters

NameTypeDescription
datestring | Date

A UTC Date or valid YYYY-MM-DD 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 { suidoDay } from "@johnmorrisdotca/suido/levels";

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

What it prints (run when this page was built)

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