You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a bug. I use dayJs(someDate).fromNow() and it return like 1 hour ago and it's correct but for some reason I want to customize some range to a normal date like 10/05/2021 I try to add function to dd: in config but the parameter value does not date
Expected behavior
if date more than 7 days display a normal date like 10/05/2021
Information
Day.js Version [e.g. v1.10.5]
Browser [e.g. chrome 62]
How can I do that. Thank you
The text was updated successfully, but these errors were encountered:
It's not a bug. I use dayJs(someDate).fromNow() and it return like 1 hour ago and it's correct but for some reason I want to customize some range to a normal date like 10/05/2021 I try to add function to dd: in config but the parameter value does not date
Expected behavior
if date more than 7 days display a normal date like 10/05/2021
Information
How can I do that. Thank you
The text was updated successfully, but these errors were encountered: