omid / Hijri-Calendar-for-Gnome-Shell

An extension for Gnome-Shell to show Hijri date/calendar
https://extensions.gnome.org/extension/1083/hijri-calendar/
GNU General Public License v3.0
24 stars 9 forks source link

Support for GNOME 42.5 #18

Closed shakram02 closed 1 year ago

shakram02 commented 1 year ago

Is there plans to upgrade the extension for GNOME v42.5? If not, can you please provide some guidance on how this can be done?

Thanks,

omid commented 1 year ago

Hey @shakram02

I don't really support this extension anymore, but check and accept PRs and release a new version.

But there is another extension for Persian Calendar, which you can find here: https://github.com/omid/Persian-Calendar-for-Gnome-Shell

The two source codes are really diverged at this point of time.

I see two ways to do so.

  1. Find the commits these two source codes started to diverged and apply whatever there, here also.
  2. Add the functionality to the other one, to be able to choose the default calendar (+ Arabic language to choose) you can find the ticket here (it's in Persian)

I suggest the second one.

More about the other calendar. It already supports Gregorian, Hijri and Persian calendars and can show all at the same time. But the main calendar is ALWAYS the Persian one (https://github.com/omid/Persian-Calendar-for-Gnome-Shell/blob/master/PersianCalendar%40oxygenws.com/Calendar.js)

It can have an option in settings to choose the default calendar.

shakram02 commented 1 year ago

Thanks a lot Omid for the very detailed answer