1) What is your original issue/pain point you want to solve?
I am looking for a way to display dates in Zammad using the Persian calendar (Jalali or Hijri Shamsi). Currently, Zammad uses the Gregorian calendar for all date-related fields, which makes it difficult for teams in regions like Iran to use the system effectively, as they predominantly rely on the Persian calendar in their daily workflows.
For example, a Persian date format looks like this:
- 12 دی 1402 (equivalent to 2 January 2024 in the Gregorian calendar).
The pain point is that users have to manually convert Gregorian dates into Persian dates, which can lead to errors and inefficiencies.
2) Which are one or two concrete situations where this problem hurts the most?
- Ticket Creation and Updates:
Agents and customers cannot easily track when a ticket was created or updated because the date format does not align with their local standard. This is particularly problematic for legal or formal tasks where the Persian calendar is mandatory. - Reports and Metrics:
In Zammad reports and metrics, all the date fields (e.g., ticket resolution time) appear in the Gregorian calendar. Users must export the data and manually convert the dates to Persian, which is time-consuming and error-prone.
3) Why is it not solvable with the Zammad standard?
Zammad does not currently offer a built-in option to switch the date format to the Persian calendar. Even though Intl.DateTimeFormat
in JavaScript supports Persian (fa-IR
), Zammad does not seem to provide a way to use it globally across the system. Additionally, there is no official plugin or extension for Persian calendar support.
4) What is your expectation/what do you want to achieve?
I would like Zammad to support:
- Native Persian Calendar Formatting: A built-in feature to display all date fields in the Persian calendar system (Jalali).
- Flexible Localization Options: The ability to switch between date formats based on user preferences or system settings.
- Persian Date Formatting Examples: Dates should look like this in Persian:
- Short Format: 1402/10/12 (YYYY/MM/DD)
- Full Format: 12 دی 1402 (Day, Month, Year in Persian)
This will greatly improve usability for teams and customers in Persian-speaking regions.
Your Zammad environment:
- Average concurrent agent count: 4 agents.
- Average tickets a day: 5-30 tickets.
- What roles/people are involved: Customer Support Agents, Managers, and Customers.
Anything else which you think is useful to understand your use case:
- Mockup Example: If helpful, I can provide mockup screenshots of how dates should appear in Persian.
- API Suggestion: If this requires an API modification, many libraries like moment-jalaali or
Intl.DateTimeFormat
in JavaScript already support Persian calendar conversions.
Thank you for considering this feature request. This addition would make Zammad more accessible to users in Persian-speaking regions and improve localization for international teams!
Best regards,