Req #75456 [Opn->Dup]: Native Hijri Calendar support
| From: | cmb@php.net | Date: | Mon, 30 Oct 2017 10:33:42 +0000 |
| Subject: | Req #75456 [Opn->Dup]: Native Hijri Calendar support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-212369@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75456&edit=1
ID: 75456
Updated by: cmb@php.net
Reported by: haneef95 at gmail dot com
Summary: Native Hijri Calendar support
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
-Package: *General Issues
+Package: Calendar related
Operating System: Cent OS
PHP Version: 7.0.25
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This is a duplicate of bug #27453.
Adding this feature would require the RFC process; see the other
ticket for details.
Previous Comments:
------------------------------------------------------------------------
[2017-10-30 00:51:50] haneef95 at gmail dot com
(Microsoft Windows supports Hijri calendar
naively)[https://www.microsoft.com/middleeast/msdn/ArabicCalendar.aspx]
(Microsoft Office has native
support)[https://blogs.technet.microsoft.com/office_global_experience/2010/01/13/um-al-qura-calendar-support-in-office-2010/]
(Apple supports the Hijri calendar in 5 of their SDKs (Software Development
Kits))[https://developer.apple.com/documentation/foundation/calendar.identifier]
(Android Hijri calendar
support)[https://developer.android.com/reference/android/icu/util/IslamicCalendar.html]
(Java Hijri calendar
support)[https://docs.oracle.com/javase/8/docs/api/java/time/chrono/HijrahChronology.html]
(Google Calendar allows Hijri calendar as an alternate
calendar)[https://www.maketecheasier.com/display-alternate-calendar-google-calendar/]
------------------------------------------------------------------------
[2017-10-29 23:55:43] haneef95 at gmail dot com
Description:
------------
There should be native support for a calendar as widely used as the Umm al-Qura Hijri calendar. I
cannot see the support here, hence, I presume it is not available: http://php.net/manual/en/ref.calendar.php
There are external libraries, but, a native support would be good:
https://www.phpclasses.org/browse/file/43092.html
We should be able to convert between; Greg, Hijri, Julian, UnixTime calendars.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75456&edit=1