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
add functionlity moment(monthEnd).add(1, "jMonth") Expected behavior
I expected that line of code give me the end date of next month
PS: monthEnd is end date of the current month
i have to change it to moment(monthEnd).subtract(1, "jMonth").endOf("jMonth") to be worked.
The text was updated successfully, but these errors were encountered:
add functionlity
moment(monthEnd).add(1, "jMonth")
Expected behavior
I expected that line of code give me the end date of next month
PS: monthEnd is end date of the current month
i have to change it to
moment(monthEnd).subtract(1, "jMonth").endOf("jMonth")
to be worked.The text was updated successfully, but these errors were encountered: