A lightweight but professional library for working with Persian dates. This supports Persian (Jalali) and gregorian calendar and from v2.0 supports Nodejs. Also, you can use it in nuxtjs without any problems.
For full documentation, visit https://alireza-ab.ir/persian-date
npm i @alireza-ab/persian-date
let date = new PersianDate([1400, 1, 1], "jalali");
date.diff("1399/9", "date") + " days"; // 120 days
date.isAfter("1399/12/30"); // true
date.addDay(5).toString(); // 1400/01/06
PersianDate is available under the MIT license.
Useful Javascript snippets and small apps
Lightweight, user-friendly onboarding tour library
ترجمه آزاد کتاب Django Design Pattern And Best Practices
An anthology of a variety of tools for the Persian language in javascript
Laravel 5+ Jalali datetime component known as ZAMAN
With Gregorian and Persian (Jalaali) Calendar
React Fully Customized SSR Boilerplate
Android Persian Calendar / تقویم فارسی اندروید