Skip to content

Conversation

kocsismate
Copy link
Member

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.

@php-pulls php-pulls closed this in 4766368 Jan 22, 2020
@kocsismate kocsismate deleted the icu-date-constants branch January 22, 2020 19:04
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants