Parses the parameters in the url, with the format being /YYYY/M/D. If one more more
is missing, will return the 1st of each value in its place. If there are no values, then
it will return today's date.
Parameters
dates: string[]
Date list from the parameters
Returns Dayjs
Dayjs object containing the date specified in the url
Parses the parameters in the url, with the format being /YYYY/M/D. If one more more is missing, will return the 1st of each value in its place. If there are no values, then it will return today's date.