Skip to content
Jan Hermann edited this page Oct 19, 2026 · 1 revision

🧭

Browser demos of the JavaScript classes, one page per namespace.

The demos are in the examples/ folder in the repository root. Open examples/index.html for the list. They import the Timely namespace from ../src/timely/index.js, see JavaScript.

Browsers do not load modules from file://, so serve the project root through a local web server:

npx serve .

Then open /examples/index.html.

DateUtil.formatDate() and DateUtil.dayOfWeek() in English and Czech for today and a picked date, and the full Week list.

EasterCalculator Easter Sunday, Friday and Monday for a chosen year and the next five years. See Easter.

CzechNameDayFinder and SlovakNameDayFinder name days for today, a picked date and a day/month pair. See Name Days.

Helper.isLeap() and Helper.isLeap2() for a chosen year and a few well-known years. See Years.

The holidays and times namespaces are PHP only and have no browser demo. The clocks in src/timely/clocks/ have their own pages, see Clocks.

Clone this wiki locally