Req #78649 [Asn->Csd]: Provide ICU RELATIVE_ constants

From: Date: Wed, 22 Jan 2020 19:04:14 +0000
Subject: Req #78649 [Asn->Csd]: Provide ICU RELATIVE_ constants
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225046@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78649&edit=1 ID: 78649 Updated by: kocsismate@php.net Reported by: math dot lechat at gmail dot com Summary: Provide ICU RELATIVE_ constants -Status: Assigned +Status: Closed Type: Feature/Change Request Package: I18N and L10N related PHP Version: Irrelevant Assigned To: kocsismate Block user comment: N Private report: N New Comment: Automatic comment on behalf of kocsismate@woohoolabs.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=476636841f450cf90c4a2a9516160303f0df3cb7 Log: Fix #78649 Provide ICU RELATIVE_ constants Previous Comments: ------------------------------------------------------------------------ [2020-01-21 23:18:12] kocsismate@php.net I opened the following PR for fixing the issue: https://github.com/php/php-src/pull/5105 ------------------------------------------------------------------------ [2019-10-08 18:17:19] math dot lechat at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=78649&edit=1

« previous php.bugs (#225046) next »