Skip to content

V1.1.0

Choose a tag to compare

@MohammadSadeghMehrafzoon MohammadSadeghMehrafzoon released this 11 Jun 05:45
· 34 commits to master since this release

New Date Formatting Methods

I've added three new methods to the library for enhanced date formatting:

  1. getFullDate(): String: This method returns the full Persian date in the format "YYYY/MM/DD". For example, if today is June 11, 2025, it might return "1404/03/22" (assuming the current Persian date).

  2. getPersianMonthNameAndPersianYear(): String: Use this method to get the Persian month name and year. For instance, it would return something like "خرداد 1404"

  3. getMiladiFullDate(): String: This method provides the full Gregorian (Miladi) date in the "YYYY/MM/DD" format. For example, it would return "2025/06/11" for today's date.

These additions give you more flexibility in displaying and working with both Persian and Gregorian dates within your applications.