Questions tagged [jalali-calendar]

Jalali calendar is a sidereal calendar & is the official calendar system in Iran and Afghanistan.

68 questions
1
vote
0 answers

Kendo React DatetimePicker with Persian calendar

I read this article of kendo about globalization and cldr document and found that I should use cldr-cal-persian-full for implementing Persian calendar in Kendo React DatetimePicker, but my code below it causes an error that "Cannot read property…
1
vote
1 answer

Pass custom date object from jalali-moment library to time.Date option

I have using the jalali-moment library in my project to deal with Persian dates. currently, I'm stuck with how to use the library with highcharts to convert all dates to Jalali dates. I found a "time.Date" option that takes a custom Date Object for…
Saeed Zhiany
  • 2,051
  • 9
  • 30
  • 41
1
vote
0 answers

Fullcalendar 4 alpha problem with jalali (Persian) calendar view

I want to use fullcalendar 4 alpha, because of it's better support for "fa Locale". it use jalali calendar but It have one issue that I wrote in one issue. It convert Gregorian days and month names to jalali but it's view has problem. It's month…
Bahman Shafiei
  • 395
  • 5
  • 22
1
vote
0 answers

react-native weekly agenda calendar with persian (jalali) support

I need weekly agenda calendar in persian for my app but I did not find any. I want to know that is there any weekly agenda calendar exists with persian support?
1
vote
0 answers

Django REST Framework Jalali date compatibility issues

I am using Python 3.5, Django 2.0 and Django REST Framework 3.7.7 I added django-jalali 3.0.2 to my apps for jalali calelndar compatibility. This app works fine when using admin or shell, but when I send requests using DRF, datetime object is…
4l12
  • 322
  • 2
  • 10
1
vote
1 answer

Organizing date format (non-Gregorian calendar) - Python 3

I have a large sales database the first column of which is the purchase date. The problem is some of these dates are entered in DD.MM.YY format, some in YY.MM.DD and some in YYYY/MM/DD. I want to make them all to same format. What is the cleanest…
A.M.
  • 11
  • 3
1
vote
1 answer

How to use jalali calendar in angular material 2?

I use mat-datepicker in my app but when I change the LOCAL_ID to 'fa-IR' the arrangement of months and the days of month is incorrect as seen in this picture: . how can I do it correctly? sample link
M_Farahmand
  • 954
  • 2
  • 9
  • 21
1
vote
4 answers

Convert gregorian date to jalali

I have a function like this: var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); var hdr = {}; and there is another function to convert it: function gregorian_to_jalali($g_y,$g_m,$g_d,$mod=''){ …
MSH Developer
  • 73
  • 1
  • 15
1
vote
1 answer

display 2 type datepicker in one (gregorian & jalali)

I have a plugin for show Gregorian and Jalali Datepicker: https://amirkabirdataminers.github.io/ADM-dateTimePicker/ But I want show both in one calendar as in example. exm: Day Jalali
Day Gregorian
please help me how can i this?
1
vote
1 answer

how convert hexo blog date and time to jalali?

I using hexo blog system. I can't find a way to convert momentjs of hexo to jalali. How I cant convert the date to jalali calendar date ?
Dvlpr
  • 1,439
  • 1
  • 11
  • 21
1
vote
0 answers

Persian Calendar Python

Why is the output of this code true? What are your alternatives for this? from khayyam import * print(JalaliDate(1389, 2, 18) == JalaliDate(1391, 12, 30)) True
Amir.S
  • 719
  • 8
  • 15
1
vote
0 answers

change days count of month in jquery datepicker

for some reasons i would like to change days count of a mooon in jquery ui datepicker library. means all month of the year should have 31 days. the jquery ui datepicker library has a function named…
Sirwan Rauofi
  • 153
  • 1
  • 3
  • 13
1
vote
0 answers

how to use two different calendar in php and sql?

I'm gonna put two different time calendars on registration page, for example something like this: Your Gregorian Birthday: Your Jalali BirthDay: I already have Georgian Calendar format on my registration page and working well. but I'm totally zero…
Reza DAskov
  • 65
  • 1
  • 10
0
votes
0 answers

Mui date range picker always select first day of year

Im working on a react porject using mui components I have this dateRangerPicker from mui components
0
votes
1 answer

Converting the Gregorian date to Jalali

The PHP code displays the date as 25 July 2023. I want this date to become jalali $id = get_the_ID(); $date = get_post_meta($id, 'edgtf_match_date_meta', true); $dateobj = date_create_from_format('Y-m-d', $date); $date = date_format($dateobj, 'j F…