Warning: The author of this contribution does not provide support for it anymore.
- Sun Jun 26, 2011 3:48 pm
- File size:
- 170.18 KiB
- Validated for:
- phpBB 3.0.8
- MD5 checksum:
- Install Time
- About 10 Minute(s)
- Install Level
This Hack will allow you to view Hijri (Islamic) Calendar beside the Gregorian Calendar or instead of it , the Hack will not Delete the Gregorian, It only make Possible to view Hijri Calendar, You Can Continue using Gregorian Calendar width out need to uninstall the Hack.
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