Tags: formatphp/formatphp
Tags
skillshare/formatphp 0.7.0 Added ----- - Provide functionality for formatting locale-appropriate display names with `Intl\DisplayNames` and `FormatPHP::formatDisplayName()`. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Nothing.
skillshare/formatphp 0.6.0 Added ----- - Implement the `dayPeriod` property for formatting dates/times. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Multiply percentages by 100 internally to match the behavior of FormatJS. - Use the correct calendar and clean up time zones.
skillshare/formatphp 0.5.0 Added ----- - Provide functionality for formatting numbers and currency through `Intl\NumberFormat`, as well as `FormatPHP::formatNumber()` and `FormatPHP::formatCurrency()` convenience methods. - Add `UnableToFormatNumberException` thrown when we're unable to format a number string. Changed ------- - Sort extracted messages descending by key, using a natural, case-insensitive sorting algorithm. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Nothing.
skillshare/formatphp 0.4.0 Added ----- - Add `Intl\NumberFormatOptions` to allow users to configure number string formatting. - Add `Intl\DateTimeFormatOptions` to allow users to configure date and time string formatting. - Provide functionality for formatting dates and times through `Intl\DateTimeFormat`, as well as `FormatPHP::formatDate()` and `FormatPHP::formatTime()` convenience methods. - Add `UnableToFormatStringException` from which other formatting exceptions will descend. - Add `UnableToFormatDateTimeException` thrown when we're unable to format a date or time string. - Allow instantiation of `FormatPHP` without configuration or message collection instances; FormatPHP will use the system's default locale, in this case. - Instantiation of `Intl\Locale` without a locale argument will default to the system default locale. - Instantiation of `Config` without a locale argument will create an `Intl\Locale` using the system default locale. Changed ------- - Update `UnableToFormatMessageException` to descend from `UnableToFormatStringException`. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Nothing.
PreviousNext