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
Actually it's designed to be like that, it is used in inner logic. Since the Date.getMonth() method returns the month number starting from zero, it is convenient to use such values in DOM attributes.
Maybe adding full date string will be more suitable for your case? e.g. - year-month-date
It may be more useful as a standard YYYY-MM-DD date format as you can manipulate it and change format as you want, right ? (ISO 8601)
Maybe add a new data-date attribute ? or update the existing one ?
The value in
data-month
is incorrect, value is always 1 value higher. Maybe an Array index error starting at 0 ?The text was updated successfully, but these errors were encountered: