-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Italian locale relative time translation fix #727
Conversation
## [1.8.17](iamkun/dayjs@v1.8.16...v1.8.17) (2019-11-06) ### Bug Fixes * Fix set utcOffset in utc mode ([d148115](iamkun@d148115)) * Update advancedFormat plugin to support w ww wo week tokens … ([iamkun#678](iamkun#678)) ([26cfa63](iamkun@26cfa63)), closes [iamkun#676](iamkun#676) * Update ka locale weekdays ([f8ca3d4](iamkun@f8ca3d4)) * Update nb locale ([iamkun#679](iamkun#679)) ([1063b0e](iamkun@1063b0e)) * Update Polish locale (pl)([iamkun#713](iamkun#713)) ([30d2f02](iamkun@30d2f02)) * Update Ukrainian locale (uk) ([iamkun#710](iamkun#710)) ([360161c](iamkun@360161c)) * UTC plugin set utcOffset value ([iamkun#668](iamkun#668)) ([8877883](iamkun@8877883))
"3 hours ago" Currently it is translated to "da 3 ore". It is grammatically correct, but it has a different meaning (it means that something has been occurring for 3 hours, not that occurred 3 hours ago). The correct translation would be "3 ore fa". MomentJS translates in the same way.
Codecov Report
@@ Coverage Diff @@
## dev #727 +/- ##
===================================
Coverage 100% 100%
===================================
Files 154 154
Lines 1017 1017
Branches 157 157
===================================
Hits 1017 1017
Continue to review full report at Codecov.
|
Looks good! Can you cherry-pick and submit your commit only, please? |
Hi @iamkun! Can you please suggest me how to do it? I have never done it before. Thanks! |
@guidolodetti You can try |
## [1.8.18](v1.8.17...v1.8.18) (2019-12-18) ### Bug Fixes * Add missing locale type definition ([#716](#716)) ([cde5d0b](cde5d0b)) * Fix .locale() handel unsupported locale ([78ec173](78ec173)) * Update Italian locale (it) ([#727](#727)) ([5b53e98](5b53e98)) * Update locale (fa) ([#733](#733)) ([9ad2e47](9ad2e47)) * Update locale (zh-cn) ([#706](#706)) ([e31e544](e31e544)) * Update locale (zh-cn) meridiem ([#735](#735)) ([15d1b81](15d1b81)) * Update LocaleData plugin to support dayjs().longDateFormat() ([#734](#734)) ([aa0f210](aa0f210)), closes [#680](#680) * Update Mongolian (mn) locale relativeTime ([#753](#753)) ([6d51435](6d51435)) * Update Swedish locale (sv) fix ordinal error ([#745](#745)) ([49670d5](49670d5)), closes [#743](#743)
🎉 This PR is included in version 1.8.18 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.8.18](iamkun/dayjs@v1.8.17...v1.8.18) (2019-12-18) ### Bug Fixes * Add missing locale type definition ([#716](iamkun/dayjs#716)) ([cde5d0b](iamkun/dayjs@cde5d0b)) * Fix .locale() handel unsupported locale ([78ec173](iamkun/dayjs@78ec173)) * Update Italian locale (it) ([#727](iamkun/dayjs#727)) ([5b53e98](iamkun/dayjs@5b53e98)) * Update locale (fa) ([#733](iamkun/dayjs#733)) ([9ad2e47](iamkun/dayjs@9ad2e47)) * Update locale (zh-cn) ([#706](iamkun/dayjs#706)) ([e31e544](iamkun/dayjs@e31e544)) * Update locale (zh-cn) meridiem ([#735](iamkun/dayjs#735)) ([15d1b81](iamkun/dayjs@15d1b81)) * Update LocaleData plugin to support dayjs().longDateFormat() ([#734](iamkun/dayjs#734)) ([aa0f210](iamkun/dayjs@aa0f210)), closes [#680](iamkun/dayjs#680) * Update Mongolian (mn) locale relativeTime ([#753](iamkun/dayjs#753)) ([6d51435](iamkun/dayjs@6d51435)) * Update Swedish locale (sv) fix ordinal error ([#745](iamkun/dayjs#745)) ([49670d5](iamkun/dayjs@49670d5)), closes [#743](iamkun/dayjs#743)
## [1.8.18](iamkun/dayjs@v1.8.17...v1.8.18) (2019-12-18) ### Bug Fixes * Add missing locale type definition ([#716](iamkun/dayjs#716)) ([cde5d0b](iamkun/dayjs@cde5d0b)) * Fix .locale() handel unsupported locale ([78ec173](iamkun/dayjs@78ec173)) * Update Italian locale (it) ([#727](iamkun/dayjs#727)) ([5b53e98](iamkun/dayjs@5b53e98)) * Update locale (fa) ([#733](iamkun/dayjs#733)) ([9ad2e47](iamkun/dayjs@9ad2e47)) * Update locale (zh-cn) ([#706](iamkun/dayjs#706)) ([e31e544](iamkun/dayjs@e31e544)) * Update locale (zh-cn) meridiem ([#735](iamkun/dayjs#735)) ([15d1b81](iamkun/dayjs@15d1b81)) * Update LocaleData plugin to support dayjs().longDateFormat() ([#734](iamkun/dayjs#734)) ([aa0f210](iamkun/dayjs@aa0f210)), closes [#680](iamkun/dayjs#680) * Update Mongolian (mn) locale relativeTime ([#753](iamkun/dayjs#753)) ([6d51435](iamkun/dayjs@6d51435)) * Update Swedish locale (sv) fix ordinal error ([#745](iamkun/dayjs#745)) ([49670d5](iamkun/dayjs@49670d5)), closes [#743](iamkun/dayjs#743)
## [1.8.18](iamkun/dayjs@v1.8.17...v1.8.18) (2019-12-18) ### Bug Fixes * Add missing locale type definition ([#716](iamkun/dayjs#716)) ([cde5d0b](iamkun/dayjs@cde5d0b)) * Fix .locale() handel unsupported locale ([78ec173](iamkun/dayjs@78ec173)) * Update Italian locale (it) ([#727](iamkun/dayjs#727)) ([5b53e98](iamkun/dayjs@5b53e98)) * Update locale (fa) ([#733](iamkun/dayjs#733)) ([9ad2e47](iamkun/dayjs@9ad2e47)) * Update locale (zh-cn) ([#706](iamkun/dayjs#706)) ([e31e544](iamkun/dayjs@e31e544)) * Update locale (zh-cn) meridiem ([#735](iamkun/dayjs#735)) ([15d1b81](iamkun/dayjs@15d1b81)) * Update LocaleData plugin to support dayjs().longDateFormat() ([#734](iamkun/dayjs#734)) ([aa0f210](iamkun/dayjs@aa0f210)), closes [#680](iamkun/dayjs#680) * Update Mongolian (mn) locale relativeTime ([#753](iamkun/dayjs#753)) ([6d51435](iamkun/dayjs@6d51435)) * Update Swedish locale (sv) fix ordinal error ([#745](iamkun/dayjs#745)) ([49670d5](iamkun/dayjs@49670d5)), closes [#743](iamkun/dayjs#743)
"3 hours ago"
Currently it is translated to "da 3 ore". It is grammatically correct, but it has a different meaning (it means that something has been occurring for 3 hours, not that occurred 3 hours ago).
The correct translation would be "3 ore fa". MomentJS translates it in the same way.