Search by

mabioca / jalali-calendar

mabioca

Jalali calendar and Persian numeral support for Flarum.

Package info

github.com/mabioca/jalali-calendar

Forum

Language:TypeScript

Type:flarum-extension

pkg:composer/mabioca/jalali-calendar

Statistics

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.3 2026-10-20 08:56 UTC

This package is auto-updated.

Last update: 2026-10-24 18:10:51 UTC


README

A Flarum extension that displays dates using the Solar Hijri (Jalali) calendar and Persian numerals.

Features

  • Displays supported absolute dates using the Jalali calendar.
  • Localizes supported date labels, including the discussion list scrubber.
  • Converts relative-time digits to Persian numerals.
  • Uses the browser's built-in Intl.DateTimeFormat support.

Requirements

  • Flarum 2.0 or later.
  • A browser with support for the Intl Persian calendar and numbering system.

Installation

Install the extension from your Flarum installation directory:

composer require mabioca/jalali-calendar

Then enable the extension from the Flarum administration panel.

To clear the Flarum cache, run:

php flarum cache:clear

Compatibility

This extension targets Flarum 2.x. It changes supported date displays in the forum frontend; it does not change dates stored in the database.

License

This project is licensed under the MIT License. See LICENSE.