Req #78649 [NEW]: Provide ICU RELATIVE_ constants
| From: | math dot lechat at gmail dot com | Date: | Tue, 08 Oct 2019 18:17:20 +0000 |
| Subject: | Req #78649 [NEW]: Provide ICU RELATIVE_ constants | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223145@lists.php.net to get a copy of this message | ||
From: math dot lechat at gmail dot com
Operating system:
PHP version: Irrelevant
Package: I18N and L10N related
Bug Type: Feature/Change Request
Bug description:Provide ICU RELATIVE_ constants
Description:
------------
ICU currently provides limited support for formatting dates using a
ârelativeâ style, specified using RELATIVE_SHORT, RELATIVE_MEDIUM,
RELATIVE_LONG. or RELATIVE_FULL whose value is their absolute
counterpart ORed by 128.
Intl currently only provides the absolute formats as constants. One can
use a relative format by setting the correct numerical value though.
Could relative formats be added as constants?
--
Edit bug report at https://bugs.php.net/bug.php?id=78649&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78649&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78649&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78649&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78649&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78649&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78649&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78649&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78649&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78649&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78649&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78649&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78649&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78649&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78649&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78649&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78649&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78649&r=mysqlcfg