I don’t see how purchases made on credit (which is what accounts payable is) can not be repayable on demand or due to be paid within one year.
Usually, the credit terms give a one to three months period for an invoice to be paid so they should always be a current liability.