I have the following code:
moment(dateValue, moment.ISO_8601, true).isValid()
Which works well, except for when i only have a date with the year and the month, i.e 2020-07, it still returns true.
How can i make it return true only if the value consists of at least a full date? (i.e 2020-07-15)