-
Notifications
You must be signed in to change notification settings - Fork 215
Support nominative case of month names #126
Comments
If we do it for month names then we probably ought to do it for weekdays too. It's probably best to only include this data where it differs from the standard format so as not to unnecessarily increase the JSON file sizes for most languages. |
I will be happy to take this, but we need to run some tests to see how much data are we talking about here. As for the 402 spec, I think we are covered by https://tc39.github.io/ecma402/#sec-formatdatetime 12.1.6.13.a.ix, specifically, this sentence:
It doesn't say anything about quarters or weekdays. Do you think we should include that in the specification? /cc @srl295 @JCEmmons |
I am using @ericf I use something like this <FormattedDate
value={new Date(exper.start)}
month="long"
year="numeric"
/> So I think for isomorphic JS applications it is very important to have correct cases for months and weeks. Regardless to file sizes. May be you can build second npm module with all cases? And give it name, something like |
@nodkz checksum will always be a problem when rehydrating. in the past I remember some conversations with some react folks to allow holes in the checksum verification process for cases like this where the rehydration might attempt to change the value. I also remember something about the formatjs components opting out of the update for the first rehydration. |
Guys, any plans when it will be fixed? |
Many languages on the Earth have cases and particularly nominative and genitive ones. That's why CLDR locale data contains stand-alone month translations but Intl.js one doesn't. In result, we have wrong formatted strings.
MMMM { month: 'long' }
MMMMd { month: 'long', day: 'numeric' }
The text was updated successfully, but these errors were encountered: