Thank you very much for your reply.Hebrew or Jewish calendar is different from Chinese Lunar Calendar:
(1)The first month of the Jewish calendar is two months away from the Chinese lunar calendar. Generally speaking, the first month of the Chinese lunar calendar is located in January-February of the Western calendar, while the first month of the Jewish calendar is in the March-April period of the Western calendar.
(2)The Jewish New Year is not in the first month of the Jewish calendar, but in the seventh month. There are many important festivals this month, including the Yom Kippur seven days after the Jewish New Year and the Sukkot Festival for the last fourteen days.
(3) The two calendarsThe Chinese lunar calendar pays attention to the solar terms. The moon is set after the spring and summer months, such as April, May, and June. However, the Jewish calendar was unified after the Adar month of the twelfth month of the Jewish calendar.
In China, Taiwan and Hong Kong, everyone uses the Chinese lunar calendar to celebrate their birthday, so it is very important to join the Chinese Lunar Calendar.
Last edit: xiaofo 2018-10-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you wish to implement this, you'll have to do the work yourself. I can assist in placing the code in the right place. The calendar would need to be called "Chinese" to avoid confusion with other "Lunar" calendars.
When providing the names of the months, you'll have to give us the English equivalents, or a transliteration of the actual names in Chinese.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am going to do this myself and I need your help. First, which files need to be modified? In which file is the conversion function placed?class_date.php? How to call?
Thank you, I will upload the documents after I finish.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please e-mail me directly: gkroll (at) keldine (dot) ca .
This discussion and the discussion about implementing a new version of Chinese need to be taken off-line until we're ready to submit to the SVN repository.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I saw the current PGV calendar settings, no lunar calendar. This is often used in genealogical data. At present, there are a lot of conversions between the Gregorian calendar and the Lunar calendar in php. Can I add a lunar calendar to my calendar format? Thank you.
The following are php scripts that implement the Gregorian and Lunar conversions.
php:
https://github.com/overtrue/chinese-calendar
https://github.com/isee15/Lunar-Solar-Calendar-Converter
https://github.com/guojikai/plunar
js:
https://github.com/jjonline/calendar.js
The Hijri and Hebrew calendars are Lunar calendars.
Thank you very much for your reply.Hebrew or Jewish calendar is different from Chinese Lunar Calendar:
(1)The first month of the Jewish calendar is two months away from the Chinese lunar calendar. Generally speaking, the first month of the Chinese lunar calendar is located in January-February of the Western calendar, while the first month of the Jewish calendar is in the March-April period of the Western calendar.
(2)The Jewish New Year is not in the first month of the Jewish calendar, but in the seventh month. There are many important festivals this month, including the Yom Kippur seven days after the Jewish New Year and the Sukkot Festival for the last fourteen days.
(3) The two calendarsThe Chinese lunar calendar pays attention to the solar terms. The moon is set after the spring and summer months, such as April, May, and June. However, the Jewish calendar was unified after the Adar month of the twelfth month of the Jewish calendar.
In China, Taiwan and Hong Kong, everyone uses the Chinese lunar calendar to celebrate their birthday, so it is very important to join the Chinese Lunar Calendar.
Last edit: xiaofo 2018-10-02
Thank you for the clarification.
If you wish to implement this, you'll have to do the work yourself. I can assist in placing the code in the right place. The calendar would need to be called "Chinese" to avoid confusion with other "Lunar" calendars.
When providing the names of the months, you'll have to give us the English equivalents, or a transliteration of the actual names in Chinese.
I am going to do this myself and I need your help. First, which files need to be modified? In which file is the conversion function placed?class_date.php? How to call?
Thank you, I will upload the documents after I finish.
Please e-mail me directly: gkroll (at) keldine (dot) ca .
This discussion and the discussion about implementing a new version of Chinese need to be taken off-line until we're ready to submit to the SVN repository.