Jalali calendar is a sidereal calendar & is the official calendar system in Iran and Afghanistan.
Questions tagged [jalali-calendar]
68 questions
2
votes
1 answer
Convert Persian (Jalali) calendar to timestamp on form field entry
I made a form with Confiforms in Confluence including a Persian calendar field. There is a Filter Control macro to filter the records. But this filter doesn't work fine with Persian dates. Because Persian dates are saved as timestamp but the Persian…

Amir Naby
- 41
- 6
2
votes
0 answers
Using Jalali DatePicker but only use Gregorian Value
First of all, I'm noob :)
I'm trying to replace a CodeIgniter application DateTimePicker with another library called "Persian Datepicker" (https://babakhani.github.io/PersianWebToolkit/doc/datepicker).
1. On the first try, I tried altField option:I…

Raef
- 36
- 3
2
votes
2 answers
How to show alternative calendar dates in mplfinance?
TL;DR - The issue
I have an mplfinance plot based on a pandas dataframe in which the indices are in Georgian calendar format and I need to have them displayed as Jalali format.
My data and code
My data looks like this:
open high …

M.H. Tajaddini
- 776
- 4
- 20
2
votes
2 answers
ReactJS - Ant-Design v4 jalali(persian) datepicker problem
I try a lot to change locale in antd datepicker but I still couldn't. in antd v3 I change locale to persian and have jalali(شمسی) calendar, but in antd v4, I do some ways but only have uncomplete translating.
برای مثال، وقتی دیتپیکر فارسی میشد،…

Ali Amini
- 172
- 2
- 14
2
votes
3 answers
how to convert linux timestamp to persian/jalali in react native?
I want to convert linux timestamp like (1538522020) to jalali/shamsi date time like (11/7/1397). how can I convert these times to each other?

sina farbod
- 497
- 4
- 17
2
votes
2 answers
how to use persian JDF date class?
I found a class for convert Gregorian date to Jalali date
JDF.java
public class JDF {
/**
* Main: The default constructor uses the current Gregorian date to
* initialize the other private memebers of the class (Iranian and Julian
…

اندرولند androland
- 81
- 2
- 11
1
vote
1 answer
Django group by jalali week number
I'm working on django api using a PostgreSQL database. The model has a date field representing a travel time (in jalali format) and an integer field representing number of passengers for that travel.
I'm using django_jalali to handle jalali date…

Druid
- 61
- 4
1
vote
1 answer
get the Days of persian Month in dayjs package
i write a function for getting days of month . i use dayjs and jalaliday for build this function .
My code:
import dayjs from "dayjs";
import jalaliday from 'jalaliday'
dayjs.extend(jalaliday)
dayjs.calendar('jalali').locale('fa')
export function…

Masir
- 327
- 1
- 11
1
vote
1 answer
Convert timestamp in pyspark data frame into Jalali date in Python
I have a pyspark data frame that I am going to convert one of its column( which is in timestamp ) into Jalali date.
My data frame:
Name
CreationDate
Sara
2022-01-02 10:49:43
Mina
2021-01-02 12:30:21
I want the following…

sara moradi
- 43
- 4
1
vote
0 answers
ERROR in ../node_modules/@types/moment-timezone/moment-timezone.d.ts:63:11 - error TS2451: Cannot redeclare block-scoped variable 'tz'
I tried to install ( "ngx-persian-datepicker": "^0.1.3" ) on my angular boilerplate framework.
but wen i run "npm start" , I get this error.
ERROR in ../node_modules/@types/moment-timezone/moment-timezone.d.ts:63:11 - error TS2451: Cannot redeclare…

Media Aminian
- 21
- 1
1
vote
0 answers
How do we use the Jalali calendar in Apache Superset?
I'm using Apache Superset and I have to use a Jalali calendar for a project. Is there any way to replace the Gregorian calendar with the Jalali calendar in Superset?

masood jooibar
- 9
- 2
1
vote
1 answer
Create Julian date from Carbon with Jalali in laravel
I have a expiration date for my file in database.
I want to convert it to julian persian date and compact it to the edit page.
This is my Controller:
Public function edit(Panelfile $panelfile)
{
$expiration =…

Sina
- 37
- 5
1
vote
1 answer
Undefned index year for Jalali calender in Laravel
I want to save date in database. I'm using Persian_datepicker package for choosing date and also using Jalali calendar for converting to gregorian date. But I got the error:
Error:
Undefned index year
Code:
pdate =…

user1749030
- 151
- 1
- 2
- 12
1
vote
0 answers
fullcalendar change start and end for month view
I am working with Fullcalendar v5.* and I need to use Jalali calendar.
It seems that, I can not change the calendar to jalali, so I need to pass start and end date for month by hand. Is it possible to change start and end date in Monthlyview of…

Reza
- 33
- 5
1
vote
0 answers
How can use another datepicker plugin in jquery querybuilder?
query builder uses bootstrap date picker and I want use Shamsi date picker (jalali-moment.js) in query builder JQuery plugin but i don't know how to do it , i want replace jalali-moment.js with bootstrap date picker , can anyone help me??
it is my…

N.SH
- 616
- 7
- 20