• mattreb@feddit.it
    ·
    edit-2
    1 year ago

    It is a stupid way to implement it, but the called function is named setMonth()! The minus one is performed externally, so if you set February you expect February, validation should adjust the other fields...