-
Notifications
You must be signed in to change notification settings - Fork 215
Release 1.2.0 #171
Comments
Stoked about the changes! Highlights why we need to npm-shrinkwrap our dependencies though |
@yoni-tock we rolled back the first attempt, folks from yahoo were expecting weird behaviors that we are fixing. Can you provide more details about that issue? |
@shaosh correct, we are working on the release right now... once we close this, you should see it in NPM :) |
@caridy sounds good. Appreciate your effort in fixing the issue! |
update: we are still seeing one issue when formatting pretty big numbers, e.g.:
we will postpone the release until tomorrow, latest code is in master, feel free to try it. |
@caridy we're probably having the same thing as Yahoo. We're using render() {
const displayMonthAs = this.props.displayMonthAs || 'numeric';
const dateValue = this.props.dateValue;
const dateMoment = _.isString(dateValue) ? time.fromDate(dateValue) : dateValue;
const showWeekday = this.props.showWeekday ? { weekday: 'long' } : {};
const showYear= this.props.showYear ? { year: 'numeric' } : {};
return (
<FormattedDate value={time.toJSDateObject(dateMoment)} {...showWeekday} {...showYear}
day='numeric' month={displayMonthAs} locales={[this.context.locale]} />
);
} |
@yoni-tock it is hard to tell from that code, can you be more specific? /cc @ericf |
@caridy Would it be more helpful for me to mock that with actual values? Or do you need the locale (I suspect it's I'm happy to dive in more to try to help! Just let me know what you need |
@yoni-tock what I need is just the value of |
Okay so looking into the |
One example where we're getting bad behavior is:
|
However I can't reproduce the behavior having cloned directly from commit 7b61f24 and trying to build from source. |
solution for big numbers is in 226f0b0
|
intl@1.2.1 is in NPM. |
Woo hoo! |
Release notes: https://github.com/andyearnshaw/Intl.js/releases/tag/v1.2.1 |
v1.2.2 patch resolved some issues. |
The text was updated successfully, but these errors were encountered: