Skip to content

Tankōbon / lib/reading-stats / periodLabel

Function: periodLabel() ​

periodLabel(key): string

Defined in: lib/reading-stats.ts:163

A bucket key as a label in the current language: "Oct 5" / "5 oct." for a week (its Monday), "Oct 26" / "oct. 26" for a month, "2026" for a year.

Parameters ​

key ​

string

Returns ​

string