note 126327 added to intldateformatter.create
| From: | Patanjali at main dot php dot net | Date: | Wed, 11 Aug 2021 07:20:13 +0000 |
| Subject: | note 126327 added to intldateformatter.create | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216768@lists.php.net to get a copy of this message | ||
Just to be clear, to use any non-gregorian calendar:
a. The locale must be in the form of locale@calendar=calendar-name
b. The calendar must use the intlDateFormatter::TRADITIONAL constant, or an intlCalendar object
created with a locale as specified in a.
The calendar name can be 'gregorian', even if the intlDateFormatter::TRADITIONAL constant
is used, which makes for a more generic code approach.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 115.64.123.180)
----
Manual Page -- https://php.net/manual/en/intldateformatter.create.php
Edit -- https://main.php.net/note/edit/126327
Del: integrated -- https://main.php.net/note/delete/126327/integrated
Del: useless -- https://main.php.net/note/delete/126327/useless
Del: bad code -- https://main.php.net/note/delete/126327/bad+code
Del: spam -- https://main.php.net/note/delete/126327/spam
Del: non-english -- https://main.php.net/note/delete/126327/non-english
Del: in docs -- https://main.php.net/note/delete/126327/in+docs
Del: other reasons-- https://main.php.net/note/delete/126327
Reject -- https://main.php.net/note/reject/126327
Search -- https://main.php.net/manage/user-notes.php