Hijri Calendar

All 3.2.x (Rhea) Extensions released in our Extensions Database will be announced in here. All support for released Extensions needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of Extensions. Any Extension support should be obtained through the Customisations Database in the support area designated for each Extension.

A direct link to support for each Extension is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29351
Joined: Sat Aug 16, 2003 7:36 am

Hijri Calendar

Post by Extensions Robot »

Extension name: Hijri Calendar
Author: hubaishan
Extension description: This extension will allow you to view Hijri (Islamic) Calendar beside the Gregorian Calendar or instead of it , The extension will not Delete the Gregorian, It only make possible to view Hijri Calendar, You can continue using Gregorian Calendar with out any need to disable the extension.

To view Hijri Calendar you must change date format and add the below letter Symbols. Notice that we use the same letters of date() PHP function and only adding underscore(_) prefix to them.

The supported letters to view Hijri Calendar in dateformat are (notice that _ is part of symbol):
  • _j Day of the month without leading zeros
  • _d Day of the month, 2 digits with leading zeros
  • _z The day of the year (starting from 0)
  • _M A short textual representation of a month, such as 'Ram'
  • _F A full textual representation of a month, such as 'Ramadan'
  • _m Numeric representation of a month, with leading zeros
  • _n Numeric representation of a month, without leading zeros
  • _t Number of days in the given month
  • _L Whether it's a leap year, 1 if it is a leap year, 0 otherwise
  • _Y A full numeric representation of a year, 4 digits
  • _y A two digit representation of a year
You can change default datefomat from (Administration Control Panel=>General=>Board settings)
Every user can change his personal dateformat from User (Control Panel=>Board Preferences=>Edit Global Setting).

Features:
  • Easy Date Format for Hijri Calendar same of date() PHP function and adding (_) underscore prefix before the letter.
  • Compatible with all styles.
  • Compatible with all browsers.
  • Supports 2 algorithms to calculate the Hijri Calendar:
    • Um Al-Qura Algorithm from year 1318AH to 1500AH.
    • Tabular Algorithm.
  • Ability to Adjust the beginning of Hijri months to consensus the crescent sight.
  • Ready for 3.2.* and php 7.x.
Extension version: 2.2.0
Tested on phpBB version: 3.2.0

Download file: hubaishan-hijri.zip
File size: 37.02 KiB

Extension overview page: View

Except where otherwise noted, the phpBB Team is not responsible nor required to provide support for this extension. By installing this extension, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Extension support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:32 pm, edited 6 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28935
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: Hijri Calendar

Post by Paul »

Extension validated/released

Return to “[3.2.x] Extensions Database Releases”