Dayjs: isToday, isTomorrow, isYesterday

Created on 13 Aug 2018  Â·  8Comments  Â·  Source: iamkun/dayjs

Update:

https://day.js.org/docs/en/plugin/is-today
https://day.js.org/docs/en/plugin/is-tomorrow
https://day.js.org/docs/en/plugin/is-yesterday


Hello, @iamkun!
What do you think about that helpers? I think it can be really usefull in some cases.
For exmple – you need to know, is it date is today and you simplify call dayjs(date).isToday().

released

Most helpful comment

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

The release is available on:

Your semantic-release bot :package::rocket:

All 8 comments

Also, I can try to implement that functional in plugin 😉

Will this be implemented soon?

@jelaxshan I will try it on this week.

Update:

https://day.js.org/docs/en/plugin/is-today
https://day.js.org/docs/en/plugin/is-tomorrow

https://day.js.org/docs/en/plugin/is-yesterday

I'll close this issue since it's been a while since it's been opened. Feel free to reopen if you have updates on this

@cwilby can't locate this at this moment. I can try to do that again, looks like not a big problem

@cwilby, so, I have reopened that PR - #857

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

The release is available on:

Your semantic-release bot :package::rocket:

Was this page helpful?
0 / 5 - 0 ratings