dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

fix: update `monthDiff` remove number conversion

Open yuler opened this issue 4 years ago • 4 comments

yuler avatar Mar 24 '21 13:03 yuler

what's this PR for, please?

iamkun avatar May 26 '21 07:05 iamkun

I think don't need use + wrap again.

yuler avatar May 27 '21 08:05 yuler

This function is from momentjs, you can check their test to see the edge case here

iamkun avatar Jun 28 '21 06:06 iamkun

I checked at the moment monthDiff function

It doesn't wrap with +.

yuler avatar Jun 28 '21 07:06 yuler