How to implement Islamic calendar dates

1,198 views
Skip to first unread message

enrique...@factumfoundation.org

unread,
Nov 21, 2018, 5:48:36 AM11/21/18
to AtoM Users

Hi!
I'm developing a database for oriental manuscripts. The dates are in Islamic calendar (also known as Muslim or Hijri calendar).

Is there any way to change the calendar format?

Best regards

Dan Gillean

unread,
Nov 21, 2018, 12:08:20 PM11/21/18
to ica-ato...@googlegroups.com
Hi there, 

Interesting question! Do you mean the calendar widgets we use in the Advanced search panel for date range searching, in the Description updates page, and other places?

In any case, there is not currently a user configurable option to make this change - it would require a developer to make custom changes to the widget. 

There are 2 different calendar / datepicking widgets we use in AtoM - one from the Yahhoo User Interface (YUI) library, and the other from the JQueryUI library. 

For example, there' s a datepicker in the Accession edit page, for setting the acquistion date. The library we use for this calendar widget is of the YUI library - specifically the YAHOO.widget.Calendar, found here in our code: 
And here is one of the places we instantiate it: 
I don't know if it's possible to configure this to display an Islamic calendar or not, but there are some docs here that you could look at for more information: 
The other library is the JQuery widget, which we use in the Advanced search for archival descriptions. Here is where the JQueryUI library is maintained in AtoM:
Here's where we initialize it: 
And here's some more info on the widget: 
Good luck, and let us know how it goes! 


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/7322f441-6c24-43e5-9e24-0f217cdd435e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

enrique...@factumfoundation.org

unread,
Nov 22, 2018, 5:52:32 AM11/22/18
to AtoM Users

Dear Dan,

thank you for the info and the links. At the moment learning AtoM as User/Admin/Developer :)
With the links to the plugins I should be able to customize using javascript

Doing a quick search I see the JQuery Calendars plugin:
https://plugins.jquery.com/kbw.calendars/
http://keith-wood.name/calendarsPicker.html

It builds on the Datepicker plugin, I'll give you feedback when find time to test it

Cheers!
Reply all
Reply to author
Forward
0 new messages