Dayjs: wrong locale id with relativeTime (past)

Created on 8 Jun 2018  路  2Comments  路  Source: iamkun/dayjs

Hi, I tried dayjs using relativeTime plugin.
This is the code:

dayjs(mytime).fromNow(),

But the result is yang lalu 3 jam (for example), it should be 3 jam yang lalu for Indonesian.

Looks like here:
https://github.com/iamkun/dayjs/blob/2814f2ffc15c398cdf1326dedaa43c363d2b2a5f/src/locale/id.js#L9

Thank you

Most helpful comment

:tada: This issue has been resolved in version 1.6.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

All 2 comments

THX, will check this.

:tada: This issue has been resolved in version 1.6.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sohailalam2 picture sohailalam2  路  4Comments

paraself picture paraself  路  3Comments

lyz810 picture lyz810  路  4Comments

dakshshah96 picture dakshshah96  路  5Comments

fundon picture fundon  路  5Comments